SchemaDeploymentConstructor Class

Used by Visual Studio to create a SchemaDeployment object.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<SchemaDeployment>
      Microsoft.Data.Schema.Build.SchemaDeploymentConstructor

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

Syntax

'Declaration
Public Class SchemaDeploymentConstructor _
    Inherits ServiceConstructor(Of SchemaDeployment)
public class SchemaDeploymentConstructor : ServiceConstructor<SchemaDeployment>
public ref class SchemaDeploymentConstructor : public ServiceConstructor<SchemaDeployment^>
type SchemaDeploymentConstructor =  
    class
        inherit ServiceConstructor<SchemaDeployment>
    end
public class SchemaDeploymentConstructor extends ServiceConstructor<SchemaDeployment>

The SchemaDeploymentConstructor type exposes the following members.

Constructors

  Name Description
Public method SchemaDeploymentConstructor Initializes a new instance of the SchemaDeploymentConstructor class.

Top

Properties

  Name Description
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. (Inherited from ServiceConstructor.)
Public property Errors Gets or sets the error manager to contain any errors or warnings that are encountered during the deployment processes.
Public property TargetDatabaseName

Top

Methods

  Name Description
Public method Clone Duplicates the current instance. (Inherited from ServiceConstructor<TService>.)
Public method ConstructService Called by a DatabaseSchemaProvider to create an instance of the specified TService type. (Inherited from ServiceConstructor<TService>.)
Protected method ConstructServiceImplementation Called by Visual Studio to obtain a SchemaDeployment object. (Overrides ServiceConstructor<TService>.ConstructServiceImplementation().)
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.)
Protected method OnConstructDeployment Creates a schema deployment object.
Public method Setup(FileInfo, FileInfo)
Public method Setup(FileInfo, String) Prepares the SchemaDeployment object by using the provided source file and target connection string.
Public method Setup(DataSchemaModel, String) Prepares the SchemaDeployment object by using the provided source model and target connection string.
Public method Setup(DataSchemaModel, DataSchemaModel, ModelComparisonResult) Prepares the SchemaDeployment object by using the provided source and target schema models, in addition to the given comparison result.
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.Build Namespace

ServiceConstructor<TService>