8 references to UniqueConstraint
System.Data.Common (8)
System\Data\ConstraintCollection.cs (2)
154
UniqueConstraint constraint = new
UniqueConstraint
(name, columns);
782
UniqueConstraint newConstraint = new
UniqueConstraint
(constr._constraintName, parents);
System\Data\ProviderBase\SchemaMapping.cs (1)
1087
UniqueConstraint? unique = new
UniqueConstraint
("", keys);
System\Data\UniqueConstraint.cs (2)
304
UniqueConstraint clone = new
UniqueConstraint
(ConstraintName, columns);
329
UniqueConstraint clone = new
UniqueConstraint
(ConstraintName, columns);
System\Data\xmlsaver.cs (2)
453
UniqueConstraint? _constraint = (UniqueConstraint?)fk.RelatedTable.Constraints.FindConstraint(new
UniqueConstraint
("TEMP", fk.RelatedColumnsReference));
2087
UniqueConstraint? _constraint = (UniqueConstraint?)foreign.RelatedTable.Constraints.FindConstraint(new
UniqueConstraint
("TEMP", fields));
System\Data\XMLSchema.cs (1)
1418
UniqueConstraint? found = (UniqueConstraint?)key[0].Table!.Constraints.FindConstraint(new
UniqueConstraint
(name, key));