Deployment.OnCreateNewDatabaseModel Method
Returns an empty schema model.
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
'Usage
Dim errorManager As ErrorManager
Dim partialConnectionString As String
Dim returnValue As DataSchemaModel
returnValue = Me.OnCreateNewDatabaseModel(errorManager, _
partialConnectionString)
protected virtual DataSchemaModel OnCreateNewDatabaseModel(
ErrorManager errorManager,
string partialConnectionString
)
protected:
virtual DataSchemaModel^ OnCreateNewDatabaseModel(
ErrorManager^ errorManager,
String^ partialConnectionString
)
protected function OnCreateNewDatabaseModel(
errorManager : ErrorManager,
partialConnectionString : String
) : DataSchemaModel
abstract OnCreateNewDatabaseModel :
errorManager:ErrorManager *
partialConnectionString:string -> DataSchemaModel
override OnCreateNewDatabaseModel :
errorManager:ErrorManager *
partialConnectionString:string -> DataSchemaModel
Parameters
- errorManager
Type: Microsoft.Data.Schema.Common.ErrorManager
The error manager
- partialConnectionString
Type: System.String
The partial connection string
Return Value
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
.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.