ModelUtilities.CreateDataSchemaModel Method
Creates a schema manager and initializes it with the provided cache and error managers.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function CreateDataSchemaModel ( _
provider As DatabaseSchemaProvider, _
scriptCache As ScriptCache, _
errorManager As ErrorManager _
) As DataSchemaModel
'Usage
Dim provider As DatabaseSchemaProvider
Dim scriptCache As ScriptCache
Dim errorManager As ErrorManager
Dim returnValue As DataSchemaModel
returnValue = ModelUtilities.CreateDataSchemaModel(provider, _
scriptCache, errorManager)
public static DataSchemaModel CreateDataSchemaModel(
DatabaseSchemaProvider provider,
ScriptCache scriptCache,
ErrorManager errorManager
)
public:
static DataSchemaModel^ CreateDataSchemaModel(
DatabaseSchemaProvider^ provider,
ScriptCache^ scriptCache,
ErrorManager^ errorManager
)
public static function CreateDataSchemaModel(
provider : DatabaseSchemaProvider,
scriptCache : ScriptCache,
errorManager : ErrorManager
) : DataSchemaModel
static member CreateDataSchemaModel :
provider:DatabaseSchemaProvider *
scriptCache:ScriptCache *
errorManager:ErrorManager -> DataSchemaModel
Parameters
- provider
Type: Microsoft.Data.Schema.Extensibility.DatabaseSchemaProvider
The schema manager
- scriptCache
Type: Microsoft.Data.Schema.SchemaModel.ScriptCache
The script cache
- errorManager
Type: Microsoft.Data.Schema.Common.ErrorManager
The error manager
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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace