SqlScriptComparer Constructor (SqlDatabaseSchemaProvider, ModelCollation, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the SqlScriptComparer class.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
provider As SqlDatabaseSchemaProvider, _
collation As ModelCollation, _
ignoreWhiteSpace As Boolean, _
ignoreComments As Boolean, _
ignoreSemicolon As Boolean, _
ignoreKeywordCasing As Boolean _
)
public SqlScriptComparer(
SqlDatabaseSchemaProvider provider,
ModelCollation collation,
bool ignoreWhiteSpace,
bool ignoreComments,
bool ignoreSemicolon,
bool ignoreKeywordCasing
)
public:
SqlScriptComparer(
SqlDatabaseSchemaProvider^ provider,
ModelCollation^ collation,
bool ignoreWhiteSpace,
bool ignoreComments,
bool ignoreSemicolon,
bool ignoreKeywordCasing
)
new :
provider:SqlDatabaseSchemaProvider *
collation:ModelCollation *
ignoreWhiteSpace:bool *
ignoreComments:bool *
ignoreSemicolon:bool *
ignoreKeywordCasing:bool -> SqlScriptComparer
public function SqlScriptComparer(
provider : SqlDatabaseSchemaProvider,
collation : ModelCollation,
ignoreWhiteSpace : boolean,
ignoreComments : boolean,
ignoreSemicolon : boolean,
ignoreKeywordCasing : boolean
)
Parameters
- provider
Type: Microsoft.Data.Schema.Sql.SqlDatabaseSchemaProvider
The database schema provider.
- collation
Type: Microsoft.Data.Schema.SchemaModel.ModelCollation
The comparison manager to use for collation comparisons. This can be retrieved from a ModelStore.
- ignoreWhiteSpace
Type: System.Boolean
Optionally ignores whitespace when comparing.
- ignoreComments
Type: System.Boolean
Optionally ignores comments when comparing.
- ignoreSemicolon
Type: System.Boolean
Optionally ignores semicolons when comparing.
- ignoreKeywordCasing
Type: System.Boolean
Optionally ignores keyword casing.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.