Condividi tramite


IScaffoldingModelFactory.Create Metodo

Definizione

Overload

Create(DatabaseModel, ModelReverseEngineerOptions)

Crea un oggetto IModel da un oggetto DatabaseModel.

Create(String, TableSelectionSet)

Create(DatabaseModel, ModelReverseEngineerOptions)

Origine:
IScaffoldingModelFactory.cs
Origine:
IScaffoldingModelFactory.cs
Origine:
IScaffoldingModelFactory.cs

Crea un oggetto IModel da un oggetto 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

Parametri

databaseModel
DatabaseModel

Modello di database.

options
ModelReverseEngineerOptions

Opzioni da usare durante la creazione del modello.

Restituisce

Modello.

Si applica a

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

Parametri

connectionString
String
tableSelectionSet
TableSelectionSet

Restituisce

Si applica a