23 references to Add
System.Data.Common (23)
System\Data\ConstraintCollection.cs (10)
129
fk.RelatedTable.Constraints.
Add
(key);
155
Add
(constraint);
168
Add
(constraint);
183
Add
(constraint);
194
Add
(constraint);
213
Add
(constr);
763
Add
(constr);
784
Add
(newConstraint);
791
Add
(constr);
818
Add
(newConstraint);
System\Data\DataColumn.cs (2)
1041
_table!.Constraints.
Add
(key);
1256
_table.Constraints.
Add
(constraint);
System\Data\DataRelationCollection.cs (1)
811
relation.ChildTable.Constraints.
Add
(foreignKey = new ForeignKeyConstraint(relation.ParentColumnsReference, relation.ChildColumnsReference));
System\Data\DataSet.cs (1)
1196
ds.Tables[i].Constraints.
Add
(constraints[j].Clone(ds)!);
System\Data\DataTable.cs (5)
620
Constraints.
Add
(uc);
1725
Constraints.
Add
(key);
2496
clone.Constraints.
Add
(newforeign);
2501
clone.Constraints.
Add
(unique.Clone(clone)!);
6612
destinationTable.Constraints.
Add
(newFKC); // we know that the dest table is already in the table
System\Data\Merger.cs (2)
494
dest.Table.Constraints.
Add
(dest);
500
dest.Table.Constraints.
Add
(dest);
System\Data\ProviderBase\SchemaMapping.cs (1)
1100
constraints.
Add
(unique);
System\Data\XMLSchema.cs (1)
1323
fKey[0].Table!.Constraints.
Add
(fkc);