Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.9109.0" />

.NET API 5,160,480 bytes

 AlterTableConstraintModificationStatement

Defines modifications to a table constraint.
public bool All { get; set; }

True if the modification is for all constraints.

Specifies that constraint is enabled or disabled. When disabled, future inserts or updates to the column are not validated against the constraint conditions.

public IList<Identifier> ConstraintNames { get; }

Names of constraints to be modified. Will have zero elements if All is true.

Specifies whether the data in the table is or is not validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint. Defines which one of WITH CHECK or WITH NOCHECK were used. No Check is the default for this class(if nothing was explicitly mentioned), since these are reenabled constraints (Books online).