Udostępnij za pośrednictwem


RelationalDatabaseCreator.GetCreateTablesCommands Metoda

Definicja

Przeciążenia

GetCreateTablesCommands()

Pobiera polecenia, które będą tworzyć wszystkie tabele na podstawie modelu.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Pobiera polecenia, które będą tworzyć wszystkie tabele na podstawie modelu.

GetCreateTablesCommands()

Pobiera polecenia, które będą tworzyć wszystkie tabele na podstawie modelu.

protected virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> GetCreateTablesCommands ();
abstract member GetCreateTablesCommands : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
override this.GetCreateTablesCommands : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Protected Overridable Function GetCreateTablesCommands () As IReadOnlyList(Of MigrationCommand)

Zwraca

Wygenerowane polecenia.

Dotyczy

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Pobiera polecenia, które będą tworzyć wszystkie tabele na podstawie modelu.

protected virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> GetCreateTablesCommands (Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions options = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default);
abstract member GetCreateTablesCommands : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
override this.GetCreateTablesCommands : Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Protected Overridable Function GetCreateTablesCommands (Optional options As MigrationsSqlGenerationOptions = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default) As IReadOnlyList(Of MigrationCommand)

Parametry

options
MigrationsSqlGenerationOptions

Opcje do użycia podczas generowania poleceń.

Zwraca

Wygenerowane polecenia.

Dotyczy