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) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。