Compartilhar via


IScaffoldingModelFactory.Create Método

Definição

Sobrecargas

Create(DatabaseModel, ModelReverseEngineerOptions)

Cria um IModel de um DatabaseModel.

Create(String, TableSelectionSet)

Create(DatabaseModel, ModelReverseEngineerOptions)

Origem:
IScaffoldingModelFactory.cs
Origem:
IScaffoldingModelFactory.cs
Origem:
IScaffoldingModelFactory.cs

Cria um IModel de um 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

Parâmetros

databaseModel
DatabaseModel

O modelo de banco de dados.

options
ModelReverseEngineerOptions

As opções a serem usadas durante a criação do modelo.

Retornos

O modelo.

Aplica-se 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

Parâmetros

connectionString
String
tableSelectionSet
TableSelectionSet

Retornos

Aplica-se a