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
Default | 0 | Generate SQL to execute at runtime. |
Idempotent | 2 | Generate SQL for an idempotent script. |
NoTransactions | 4 | Generate SQL for a script without transaction statements. |
Script | 1 | Generate SQL for a script. Automatically added by GenerateScript(String, String, MigrationsSqlGenerationOptions). |
Remarks
See Database migrations for more information and examples.
Applies to
Feedback
Submit and view feedback for