SchemaDeploymentConstructor.Setup 方法 (DataSchemaModel, String)

使用提供的源模型和目标连接字符串准备 SchemaDeployment 对象。

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

语法

声明
Public Sub Setup ( _
    source As DataSchemaModel, _
    targetConnectionString As String _
)
public void Setup(
    DataSchemaModel source,
    string targetConnectionString
)
public:
void Setup(
    DataSchemaModel^ source, 
    String^ targetConnectionString
)
member Setup : 
        source:DataSchemaModel * 
        targetConnectionString:string -> unit 
public function Setup(
    source : DataSchemaModel, 
    targetConnectionString : String
)

参数

  • targetConnectionString
    类型:System.String
    目标数据库的连接字符串。

.NET Framework 安全性

请参见

参考

SchemaDeploymentConstructor 类

Setup 重载

Microsoft.Data.Schema.Build 命名空间

DataSchemaModel