Export (0) Print
Expand All
Expand Minimize

DacDeployOptions.GenerateSmartDefaults Property

Get or set boolean that specifies whether default values should be generated to populate NULL columns that are constrained to NOT NULL values.

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

public bool GenerateSmartDefaults { get; set; }

Property Value

Type: Boolean
True if default values should be generated; otherwise false. Default is false.

This is useful when needing to add a new NOT NULL column to an existing table with data.

Community Additions

ADD
Show:
© 2014 Microsoft