Sdílet prostřednictvím


RelationalDatabaseCreator.GetCreateTablesCommands Metoda

Definice

Přetížení

GetCreateTablesCommands()

Získá příkazy, které vytvoří všechny tabulky z modelu.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Získá příkazy, které vytvoří všechny tabulky z modelu.

GetCreateTablesCommands()

Získá příkazy, které vytvoří všechny tabulky z 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)

Návraty

Vygenerované příkazy.

Platí pro

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Získá příkazy, které vytvoří všechny tabulky z 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

Možnosti, které se mají použít při generování příkazů

Návraty

Vygenerované příkazy.

Platí pro