Freigeben über


IScaffoldingModelFactory.Create Methode

Definition

Überlädt

Create(DatabaseModel, ModelReverseEngineerOptions)

Erstellt eine IModel aus einer DatabaseModel.

Create(String, TableSelectionSet)

Create(DatabaseModel, ModelReverseEngineerOptions)

Quelle:
IScaffoldingModelFactory.cs
Quelle:
IScaffoldingModelFactory.cs
Quelle:
IScaffoldingModelFactory.cs

Erstellt eine IModel aus einer 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

Parameter

databaseModel
DatabaseModel

Das Datenbankmodell.

options
ModelReverseEngineerOptions

Die Optionen, die beim Erstellen des Modells verwendet werden sollen.

Gibt zurück

Das Modell.

Gilt für:

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

Parameter

connectionString
String
tableSelectionSet
TableSelectionSet

Gibt zurück

Gilt für: