Compartilhar via


RelationalDatabaseCreator.GetCreateTablesCommands Método

Definição

Sobrecargas

GetCreateTablesCommands()

Obtém os comandos que criarão todas as tabelas do modelo.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Obtém os comandos que criarão todas as tabelas do modelo.

GetCreateTablesCommands()

Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs

Obtém os comandos que criarão todas as tabelas do modelo.

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)

Retornos

Os comandos gerados.

Aplica-se a

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs
Origem:
RelationalDatabaseCreator.cs

Obtém os comandos que criarão todas as tabelas do modelo.

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)

Parâmetros

options
MigrationsSqlGenerationOptions

As opções a serem usadas ao gerar comandos.

Retornos

Os comandos gerados.

Aplica-se a