SchemaDeployment.OnCreateNewDatabaseModel Method
Called when creating the target database model to allow derived classes to do additional processing for a custom DatabaseSchemaProvider.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Function OnCreateNewDatabaseModel ( _
errorManager As ErrorManager, _
partialConnectionString As String _
) As DataSchemaModel
protected virtual DataSchemaModel OnCreateNewDatabaseModel(
ErrorManager errorManager,
string partialConnectionString
)
protected:
virtual DataSchemaModel^ OnCreateNewDatabaseModel(
ErrorManager^ errorManager,
String^ partialConnectionString
)
abstract OnCreateNewDatabaseModel :
errorManager:ErrorManager *
partialConnectionString:string -> DataSchemaModel
override OnCreateNewDatabaseModel :
errorManager:ErrorManager *
partialConnectionString:string -> DataSchemaModel
protected function OnCreateNewDatabaseModel(
errorManager : ErrorManager,
partialConnectionString : String
) : DataSchemaModel
Parameters
- errorManager
Type: Microsoft.Data.Schema.ErrorManager
The ErrorManager value of the ErrorManager property.
- partialConnectionString
Type: System.String
The connection string for the target database, which can be modified before creating the model.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A DataSchemaModel object.
.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.