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()
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
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)
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
- Source:
- RelationalDatabaseCreator.cs
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework