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
)
参数
- collation
类型:Microsoft.Data.Schema.SchemaModel.ModelCollation
- storeSchema
类型:Microsoft.Data.Schema.SchemaModel.ModelSchema
- modelFileName
类型:System.String
- scriptCache
类型:Microsoft.Data.Schema.SchemaModel.ScriptCache
- errorManager
类型:Microsoft.Data.Schema.ErrorManager
- validationEnabled
类型:System.Boolean
- modelCapability
类型:Microsoft.Data.Schema.Sql.SchemaModel.SqlModelCapability
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。