共用方式為


SqlScriptComparer 建構函式 (SqlDatabaseSchemaProvider, ModelCollation, Boolean, Boolean, Boolean)

初始化 SqlScriptComparer 類別的新執行個體。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Sub New ( _
    provider As SqlDatabaseSchemaProvider, _
    collation As ModelCollation, _
    ignoreWhiteSpace As Boolean, _
    ignoreComments As Boolean, _
    ignoreSemicolon As Boolean _
)
public SqlScriptComparer(
    SqlDatabaseSchemaProvider provider,
    ModelCollation collation,
    bool ignoreWhiteSpace,
    bool ignoreComments,
    bool ignoreSemicolon
)
public:
SqlScriptComparer(
    SqlDatabaseSchemaProvider^ provider, 
    ModelCollation^ collation, 
    bool ignoreWhiteSpace, 
    bool ignoreComments, 
    bool ignoreSemicolon
)
new : 
        provider:SqlDatabaseSchemaProvider * 
        collation:ModelCollation * 
        ignoreWhiteSpace:bool * 
        ignoreComments:bool * 
        ignoreSemicolon:bool -> SqlScriptComparer
public function SqlScriptComparer(
    provider : SqlDatabaseSchemaProvider, 
    collation : ModelCollation, 
    ignoreWhiteSpace : boolean, 
    ignoreComments : boolean, 
    ignoreSemicolon : boolean
)

參數

  • ignoreWhiteSpace
    型別:System.Boolean
    進行比較時選擇性地忽略空白。
  • ignoreComments
    型別:System.Boolean
    進行比較時選擇性地忽略註解。
  • ignoreSemicolon
    型別:System.Boolean
    進行比較時選擇性地忽略分號。

.NET Framework 安全性

請參閱

參考

SqlScriptComparer 類別

SqlScriptComparer 多載

Microsoft.Data.Schema.ScriptDom.Sql 命名空間