Compartir a través de


SqlDeploymentOptions.DropConstraintsNotInSource Property

Definition

Get boolean that specifies whether to drop all constraints that do not exist in the source model.

public bool DropConstraintsNotInSource { get; }
member this.DropConstraintsNotInSource : bool
Public ReadOnly Property DropConstraintsNotInSource As Boolean

Property Value

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

Remarks

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

Applies to