MigrationsSqlGenerationOptions Enum
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.
The options to use when generating SQL for migrations.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum MigrationsSqlGenerationOptions
[<System.Flags>]
type MigrationsSqlGenerationOptions =
Public Enum MigrationsSqlGenerationOptions
- Inheritance
-
MigrationsSqlGenerationOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Generate SQL to execute at runtime. |
Script | 1 | Generate SQL for a script. Automatically added by GenerateScript(String, String, MigrationsSqlGenerationOptions). |
Idempotent | 2 | Generate SQL for an idempotent script. |
NoTransactions | 4 | Generate SQL for a script without transaction statements. |
Remarks
See Database migrations for more information and examples.