SchemaDeploymentConstructor.Setup Method (DataSchemaModel, String)
Prepares the SchemaDeployment object by using the provided source model and target connection string.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- source
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A DataSchemaModel for the source database.
- targetConnectionString
Type: System.String
The connection string for the target database.
.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