Share via


SchemaDeploymentConstructor.Setup Method (DataSchemaModel, DataSchemaModel, ModelComparisonResult)

Prepares the SchemaDeployment object by using the provided source and target schema models, in addition to the given comparison result.

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

Syntax

'Declaration
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
)

Parameters

Remarks

The source and target models must be for the same database schema provider.

.NET Framework Security

See Also

Reference

SchemaDeploymentConstructor Class

Setup Overload

Microsoft.Data.Schema.Build Namespace

DataSchemaModel

ModelComparisonResult