Bagikan melalui


DeploymentScriptDomStep Class

Represents a deployment step that consists of an Abstract Syntax Tree (AST) and reference to a script Domain Object Model (DOM) generator.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.DeploymentStep
    Microsoft.Data.Schema.Build.DeploymentScriptDomStep
      Microsoft.Data.Schema.Build.AlterElementStep
      Microsoft.Data.Schema.Build.CreateElementStep
      Microsoft.Data.Schema.Build.DropElementStep
      Microsoft.Data.Schema.Sql.Build.SqlFinalizeDatabaseAccessStep
      Microsoft.Data.Schema.Sql.Build.SqlMoveSchemaStep
      Microsoft.Data.Schema.Sql.Build.SqlPrintStep
      Microsoft.Data.Schema.Sql.Build.SqlRenameStep

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Class DeploymentScriptDomStep _
    Inherits DeploymentStep
public class DeploymentScriptDomStep : DeploymentStep
public ref class DeploymentScriptDomStep : public DeploymentStep
type DeploymentScriptDomStep =  
    class
        inherit DeploymentStep
    end
public class DeploymentScriptDomStep extends DeploymentStep

The DeploymentScriptDomStep type exposes the following members.

Constructors

  Name Description
Public method DeploymentScriptDomStep() Initializes a new instance of the DeploymentScriptDomStep class.
Public method DeploymentScriptDomStep(IScriptFragment) Initializes a new instance of the DeploymentScriptDomStep class by using the provided script fragment.
Public method DeploymentScriptDomStep(IScriptFragment, ScriptGenerator) Initializes a new instance of the DeploymentScriptDomStep class by using the provided script fragment.

Top

Properties

  Name Description
Public property Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public property Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (Inherited from DeploymentStep.)
Public property Script Gets or sets the script for this step.
Public property ScriptGenerator Gets or sets the script generator for this step.

Top

Methods

  Name Description
Public method Action Returns a script that is created from the script fragment. (Overrides DeploymentStep.Action().)
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 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 describes this step. (Inherited from DeploymentStep.)

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.Build Namespace

DeploymentStep