RelationalDatabaseCreator.GetCreateTablesCommands Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för