This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.SqlServer.
Summary
Get or set boolean that specifies whether default values should be generated to populate NULL columns that are constrained to NOT NULL values.
- Assembly
- Cake
.SqlServer .dll - Namespace
- Cake
.SqlServer - Containing Type
- Publish
Dacpac Settings
Syntax
public bool GenerateSmartDefaults { get; set; }
Remarks
This is useful when needing to add a new NOT NULL column to an existing table with data.
Value
Type | Description |
---|---|
bool | True if default values should be generated; otherwise false. Default is false. |