Condividi tramite


RelationalDatabaseCreator.GetCreateTablesCommands Metodo

Definizione

Overload

GetCreateTablesCommands()

Ottiene i comandi che creeranno tutte le tabelle dal modello.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Ottiene i comandi che creeranno tutte le tabelle dal modello.

GetCreateTablesCommands()

Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs

Ottiene i comandi che creeranno tutte le tabelle dal modello.

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)

Restituisce

Comandi generati.

Si applica a

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs
Origine:
RelationalDatabaseCreator.cs

Ottiene i comandi che creeranno tutte le tabelle dal modello.

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)

Parametri

options
MigrationsSqlGenerationOptions

Opzioni da usare per la generazione di comandi.

Restituisce

Comandi generati.

Si applica a