3 references to _Constraint
System.Data.Common (3)
System\Data\DataException.cs (3)
426
public static Exception ConstraintViolation(string constraint) =>
_Constraint
(SR.Format(SR.DataConstraint_Violation, constraint));
456
public static Exception ConstraintViolation(DataColumn[] columns, object[] values) =>
_Constraint
(UniqueConstraintViolationText(columns, values));
643
public static Exception EnforceConstraint() =>
_Constraint
(SR.Data_EnforceConstraints);