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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework