共用方式為


SchemaDeploymentConstructor.Setup 方法 (DataSchemaModel, DataSchemaModel, ModelComparisonResult)

使用提供的來源和目標結構描述模型以及指定的比較結果,準備 SchemaDeployment 物件。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Sub Setup ( _
    source As DataSchemaModel, _
    target As DataSchemaModel, _
    modelDifference As ModelComparisonResult _
)
public void Setup(
    DataSchemaModel source,
    DataSchemaModel target,
    ModelComparisonResult modelDifference
)
public:
void Setup(
    DataSchemaModel^ source, 
    DataSchemaModel^ target, 
    ModelComparisonResult^ modelDifference
)
member Setup : 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        modelDifference:ModelComparisonResult -> unit 
public function Setup(
    source : DataSchemaModel, 
    target : DataSchemaModel, 
    modelDifference : ModelComparisonResult
)

參數

備註

來源和目標模型必須是相同的資料庫結構描述提供者。

.NET Framework 安全性

請參閱

參考

SchemaDeploymentConstructor 類別

Setup 多載

Microsoft.Data.Schema.Build 命名空間

DataSchemaModel

ModelComparisonResult