共用方式為


SqlSchemaModel 建構函式 (ModelCollation, ModelSchema, String, ScriptCache, ErrorManager, Boolean, SqlModelCapability)

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

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

語法

'宣告
Protected Sub New ( _
    collation As ModelCollation, _
    storeSchema As ModelSchema, _
    modelFileName As String, _
    scriptCache As ScriptCache, _
    errorManager As ErrorManager, _
    validationEnabled As Boolean, _
    modelCapability As SqlModelCapability _
)
protected SqlSchemaModel(
    ModelCollation collation,
    ModelSchema storeSchema,
    string modelFileName,
    ScriptCache scriptCache,
    ErrorManager errorManager,
    bool validationEnabled,
    SqlModelCapability modelCapability
)
protected:
SqlSchemaModel(
    ModelCollation^ collation, 
    ModelSchema^ storeSchema, 
    String^ modelFileName, 
    ScriptCache^ scriptCache, 
    ErrorManager^ errorManager, 
    bool validationEnabled, 
    SqlModelCapability modelCapability
)
new : 
        collation:ModelCollation * 
        storeSchema:ModelSchema * 
        modelFileName:string * 
        scriptCache:ScriptCache * 
        errorManager:ErrorManager * 
        validationEnabled:bool * 
        modelCapability:SqlModelCapability -> SqlSchemaModel
protected function SqlSchemaModel(
    collation : ModelCollation, 
    storeSchema : ModelSchema, 
    modelFileName : String, 
    scriptCache : ScriptCache, 
    errorManager : ErrorManager, 
    validationEnabled : boolean, 
    modelCapability : SqlModelCapability
)

參數

.NET Framework 安全性

請參閱

參考

SqlSchemaModel 類別

SqlSchemaModel 多載

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