SqlScriptDomGenerator Class

SQL Server-specific script domain object model (DOM) generator.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ScriptDomGenerator
    Microsoft.Data.Schema.Sql.SchemaModel.SqlScriptDomGenerator
      Microsoft.Data.Schema.Sql.SchemaModel.Sql100ScriptDomGenerator
      Microsoft.Data.Schema.Sql.SchemaModel.Sql80ScriptDomGenerator
      Microsoft.Data.Schema.Sql.SchemaModel.Sql90ScriptDomGenerator

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public MustInherit Class SqlScriptDomGenerator _
    Inherits ScriptDomGenerator
public abstract class SqlScriptDomGenerator : ScriptDomGenerator
public ref class SqlScriptDomGenerator abstract : public ScriptDomGenerator
[<AbstractClass>]
type SqlScriptDomGenerator =  
    class
        inherit ScriptDomGenerator
    end
public abstract class SqlScriptDomGenerator extends ScriptDomGenerator

The SqlScriptDomGenerator type exposes the following members.

Properties

  Name Description
Protected property GenerateInlineConstraint Gets or sets a value that indicates whether to generate inline constraints CreateTable statements are generated.
Protected property KeepBodyScriptFormat Gets a value that indicates whether to preserve the format of the body script.
Protected property Schema Gets the model schema.
Protected property SupportingStatementOption Gets or sets supporting statement options that enable callers to request statements that might have supporting statements (such as permissions) or to request only those statements that have supporting statements.

Top

Methods

  Name Description
Public methodStatic member AddAssemblySourceToAssemblyParameter
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GenerateScriptDom Generates an IScriptFragment. (Inherited from ScriptDomGenerator.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsSupported Checks to see whether the ScriptDOM operation is supported for the specified element type. (Overrides ScriptDomGenerator.IsSupported(ModelElementClass, ScriptDomOperation).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGenerateScriptDom Implementations of ScriptDomGenerator can create "Create", "Alter", or "Drop" versions of statements based on the incoming model element. (Overrides ScriptDomGenerator.TryGenerateScriptDom(IModelElement, ScriptDomOperation, IScriptFragment%).)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace