PublishDacpacSettings.

GenerateSmartDefaults Property

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
PublishDacpacSettings

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.