SchemaDeploymentConstructor 类

供 Visual Studio 用于创建 SchemaDeployment 对象。

继承层次结构

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

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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>

SchemaDeploymentConstructor 类型公开以下成员。

构造函数

  名称 说明
公共方法 SchemaDeploymentConstructor 初始化 SchemaDeploymentConstructor 类的新实例。

页首

属性

  名称 说明
公共属性 DatabaseSchemaProvider 获取或设置当前的数据库架构提供程序。 (继承自 ServiceConstructor。)
公共属性 Errors 获取或设置包含在部署过程中遇到的所有错误或警告的错误管理器。
公共属性 TargetDatabaseName

页首

方法

  名称 说明
公共方法 Clone 复制当前实例。 (继承自 ServiceConstructor<TService>。)
公共方法 ConstructService DatabaseSchemaProvider 调用以创建指定 TService 类型的实例。 (继承自 ServiceConstructor<TService>。)
受保护的方法 ConstructServiceImplementation 由 Visual Studio 调用,用于获取 SchemaDeployment 对象。 (重写 ServiceConstructor<TService>.ConstructServiceImplementation()。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnConstructDeployment 创建架构部署对象。
公共方法 Setup(FileInfo, FileInfo)
公共方法 Setup(FileInfo, String) 使用提供的源文件和目标连接字符串准备 SchemaDeployment 对象。
公共方法 Setup(DataSchemaModel, String) 使用提供的源模型和目标连接字符串准备 SchemaDeployment 对象。
公共方法 Setup(DataSchemaModel, DataSchemaModel, ModelComparisonResult) 除给定的比较结果外,还使用提供的源和目标架构模型准备 SchemaDeployment 对象。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.Build 命名空间

ServiceConstructor<TService>