PublishDacpacSettings.

DropConstraintsNotInSource Property

Summary

Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
PublishDacpacSettings

Syntax

public bool DropConstraintsNotInSource { get; set; }

Remarks

This applies to check, default, foreign key, primary key, and unique constraints.

Value

Type Description
bool True to drop constraints not in the source model; otherwise, false. Default is true.