Compartir a través de


RelationalDatabaseCreator.GetCreateTablesCommands Método

Definición

Sobrecargas

GetCreateTablesCommands()

Obtiene los comandos que crearán todas las tablas a partir del modelo.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Obtiene los comandos que crearán todas las tablas a partir del modelo.

GetCreateTablesCommands()

Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs

Obtiene los comandos que crearán todas las tablas a partir del 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)

Devoluciones

Comandos generados.

Se aplica a

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs
Source:
RelationalDatabaseCreator.cs

Obtiene los comandos que crearán todas las tablas a partir del 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

Las opciones que se usarán al generar comandos.

Devoluciones

Comandos generados.

Se aplica a