SqlScriptDomGenerator Constructor
Initializes a new instance of the SqlScriptDomGenerator class.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Sub New ( _
schema As ModelSchema, _
keepBodyScriptFormat As Boolean, _
supportingStatementOption As SupportingStatementOptions, _
generateInlineConstraint As Boolean _
)
'Usage
Dim schema As ModelSchema
Dim keepBodyScriptFormat As Boolean
Dim supportingStatementOption As SupportingStatementOptions
Dim generateInlineConstraint As Boolean
Dim instance As New SqlScriptDomGenerator(schema, _
keepBodyScriptFormat, supportingStatementOption, _
generateInlineConstraint)
protected SqlScriptDomGenerator(
ModelSchema schema,
bool keepBodyScriptFormat,
SupportingStatementOptions supportingStatementOption,
bool generateInlineConstraint
)
protected:
SqlScriptDomGenerator(
ModelSchema^ schema,
bool keepBodyScriptFormat,
SupportingStatementOptions supportingStatementOption,
bool generateInlineConstraint
)
protected function SqlScriptDomGenerator(
schema : ModelSchema,
keepBodyScriptFormat : boolean,
supportingStatementOption : SupportingStatementOptions,
generateInlineConstraint : boolean
)
new :
schema:ModelSchema *
keepBodyScriptFormat:bool *
supportingStatementOption:SupportingStatementOptions *
generateInlineConstraint:bool -> SqlScriptDomGenerator
Parameters
- schema
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
The model schema
- keepBodyScriptFormat
Type: System.Boolean
Specifies whether to keep the body script format
- supportingStatementOption
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.SupportingStatementOptions
The supporting statement option value
- generateInlineConstraint
Type: System.Boolean
Specifies whether to generate inline content
.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.