Share via


RelationalDatabaseCreator.GetCreateTablesCommands Method

Definition

Overloads

GetCreateTablesCommands()

Gets the commands that will create all tables from the model.

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Gets the commands that will create all tables from the model.

GetCreateTablesCommands()

Gets the commands that will create all tables from the model.

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)

Returns

The generated commands.

Applies to

GetCreateTablesCommands(MigrationsSqlGenerationOptions)

Gets the commands that will create all tables from the model.

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)

Parameters

options
MigrationsSqlGenerationOptions

The options to use when generating commands.

Returns

The generated commands.

Applies to