IScaffoldingModelFactory.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(DatabaseModel, ModelReverseEngineerOptions) |
Creates an IModel from a DatabaseModel. |
Create(String, TableSelectionSet) |
Create(DatabaseModel, ModelReverseEngineerOptions)
- Source:
- IScaffoldingModelFactory.cs
- Source:
- IScaffoldingModelFactory.cs
- Source:
- IScaffoldingModelFactory.cs
Creates an IModel from a DatabaseModel.
public Microsoft.EntityFrameworkCore.Metadata.IModel Create (Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel databaseModel, Microsoft.EntityFrameworkCore.Scaffolding.ModelReverseEngineerOptions options);
abstract member Create : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel * Microsoft.EntityFrameworkCore.Scaffolding.ModelReverseEngineerOptions -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Function Create (databaseModel As DatabaseModel, options As ModelReverseEngineerOptions) As IModel
Parameters
- databaseModel
- DatabaseModel
The database model.
- options
- ModelReverseEngineerOptions
The options to use while creating the model.
Returns
The model.
Applies to
Create(String, TableSelectionSet)
public Microsoft.EntityFrameworkCore.Metadata.IModel Create (string connectionString, Microsoft.EntityFrameworkCore.Scaffolding.TableSelectionSet tableSelectionSet);
abstract member Create : string * Microsoft.EntityFrameworkCore.Scaffolding.TableSelectionSet -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Function Create (connectionString As String, tableSelectionSet As TableSelectionSet) As IModel
Parameters
- connectionString
- String
- tableSelectionSet
- TableSelectionSet
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework