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
- source
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A DataSchemaModel for the source database.
- target
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A DataSchemaModel for the target database.
- modelDifference
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
The ModelComparisonResult that describes the differences between the two models.
Remarks
The source and target models must be for the same database schema provider.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaDeploymentConstructor Class