mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-26 09:35:38 -05:00
Object Types are getting from DacFx ObjectTypes (#1574)
* Include Object Types are getting from DacFx * All tests are passing now with excludObjectType casting * Test fix with new ExccvludeObjectType change * Added test case for the include objects types * Updated name to objectTypesDictionary and objectType getName from Display attribute * code Review updates * Removing Exclude word logic here as the options were updated on DacFx * updating the null check * DacFx vBump * code updates according to review comments
This commit is contained in:
committed by
GitHub
parent
d78ff94b31
commit
1342a8a085
@@ -1356,8 +1356,8 @@ WITH VALUES
|
||||
DeploymentOptions options = new DeploymentOptions();
|
||||
|
||||
// ensure that files are excluded seperate from filegroups
|
||||
Assert.True(options.ExcludeObjectTypes.Value.Contains(SqlServer.Dac.ObjectType.Files));
|
||||
Assert.False(options.ExcludeObjectTypes.Value.Contains(SqlServer.Dac.ObjectType.Filegroups));
|
||||
Assert.True(options.ExcludeObjectTypes.Value.Contains(Enum.GetName(SqlServer.Dac.ObjectType.Files)));
|
||||
Assert.False(options.ExcludeObjectTypes.Value.Contains(Enum.GetName(SqlServer.Dac.ObjectType.Filegroups)));
|
||||
|
||||
var schemaCompareParams = new SchemaCompareParams
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user