Share via


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

  • keepBodyScriptFormat
    Type: System.Boolean
    Specifies whether to keep the body script format
  • generateInlineConstraint
    Type: System.Boolean
    Specifies whether to generate inline content

.NET Framework Security

See Also

Reference

SqlScriptDomGenerator Class

SqlScriptDomGenerator Members

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace