SqlScriptGenerator Class

Represents a Sql-specific script generator.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.ScriptGenerator
    Microsoft.Data.Schema.ScriptDom.Sql.SqlScriptGenerator
      Microsoft.Data.Schema.ScriptDom.Sql.Sql100ScriptGenerator
      Microsoft.Data.Schema.ScriptDom.Sql.Sql80ScriptGenerator
      Microsoft.Data.Schema.ScriptDom.Sql.Sql90ScriptGenerator

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

Syntax

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

The SqlScriptGenerator type exposes the following members.

Constructors

  Name Description
Protected method SqlScriptGenerator

Top

Properties

  Name Description
Public property Options

Top

Methods

  Name Description
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 GenerateScript(IScriptFragment, String%) Generates a script from a script fragment. (Inherited from ScriptGenerator.)
Public method GenerateScript(IScriptFragment, TextWriter) Generates text representing the specified script fragment. (Overrides ScriptGenerator.GenerateScript(IScriptFragment, TextWriter).)
Public method GenerateScript(TSqlFragment, TextWriter) Generates text representing the specified script fragment.
Public method GenerateTokens Generates a list of tokens representing the script generated by the specified script fragment.
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.)
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.)

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.ScriptDom.Sql Namespace