SqlSchemaModel Constructor (ModelCollation, ModelSchema, String, ScriptCache, ErrorManager, Boolean, SqlSchemaModel.ModelCapability)
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Sub New ( _
collation As ModelCollation, _
storeSchema As ModelSchema, _
modelFileName As String, _
scriptCache As ScriptCache, _
errorManager As ErrorManager, _
validationEnabled As Boolean, _
modelCapability As SqlSchemaModel..::..ModelCapability _
)
'Usage
Dim collation As ModelCollation
Dim storeSchema As ModelSchema
Dim modelFileName As String
Dim scriptCache As ScriptCache
Dim errorManager As ErrorManager
Dim validationEnabled As Boolean
Dim modelCapability As SqlSchemaModel..::..ModelCapability
Dim instance As New SqlSchemaModel(collation, _
storeSchema, modelFileName, scriptCache, _
errorManager, validationEnabled, _
modelCapability)
protected SqlSchemaModel(
ModelCollation collation,
ModelSchema storeSchema,
string modelFileName,
ScriptCache scriptCache,
ErrorManager errorManager,
bool validationEnabled,
SqlSchemaModel..::..ModelCapability modelCapability
)
protected:
SqlSchemaModel(
ModelCollation^ collation,
ModelSchema^ storeSchema,
String^ modelFileName,
ScriptCache^ scriptCache,
ErrorManager^ errorManager,
bool validationEnabled,
SqlSchemaModel..::..ModelCapability modelCapability
)
protected function SqlSchemaModel(
collation : ModelCollation,
storeSchema : ModelSchema,
modelFileName : String,
scriptCache : ScriptCache,
errorManager : ErrorManager,
validationEnabled : boolean,
modelCapability : SqlSchemaModel..::..ModelCapability
)
new :
collation:ModelCollation *
storeSchema:ModelSchema *
modelFileName:string *
scriptCache:ScriptCache *
errorManager:ErrorManager *
validationEnabled:bool *
modelCapability:SqlSchemaModel..::..ModelCapability -> SqlSchemaModel
Parameters
- collation
Type: Microsoft.Data.Schema.SchemaModel.ModelCollation
- storeSchema
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
- modelFileName
Type: System.String
- scriptCache
Type: Microsoft.Data.Schema.SchemaModel.ScriptCache
- errorManager
Type: Microsoft.Data.Schema.Common.ErrorManager
- validationEnabled
Type: System.Boolean
- modelCapability
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.SqlSchemaModel.ModelCapability
.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.