Partager via


IScaffoldingModelFactory.Create Méthode

Définition

Surcharges

Create(DatabaseModel, ModelReverseEngineerOptions)

Crée un IModel à partir de DatabaseModel.

Create(String, TableSelectionSet)

Create(DatabaseModel, ModelReverseEngineerOptions)

Source:
IScaffoldingModelFactory.cs
Source:
IScaffoldingModelFactory.cs
Source:
IScaffoldingModelFactory.cs

Crée un IModel à partir de 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

Paramètres

databaseModel
DatabaseModel

Modèle de base de données.

options
ModelReverseEngineerOptions

Options à utiliser lors de la création du modèle.

Retours

Modèle.

S’applique à

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

Paramètres

connectionString
String
tableSelectionSet
TableSelectionSet

Retours

S’applique à