23 references to Add
System.Data (23)
fx\src\data\System\Data\ConstraintCollection.cs (10)
130
fk.RelatedTable.Constraints.
Add
(key);
153
Add
(constraint);
165
Add
(constraint);
180
Add
(constraint);
190
Add
(constraint);
204
Add
(constr);
682
this.
Add
(constr);
700
this.
Add
(newConstraint);
705
this.
Add
(constr);
728
this.
Add
(newConstraint);
fx\src\data\System\Data\DataColumn.cs (2)
1058
table.Constraints.
Add
(key);
1257
table.Constraints.
Add
(constraint);
fx\src\data\System\Data\DataRelationCollection.cs (1)
723
relation.ChildTable.Constraints.
Add
(foreignKey = new ForeignKeyConstraint(relation.ParentColumnsReference, relation.ChildColumnsReference));
fx\src\data\System\Data\DataSet.cs (1)
1140
ds.Tables[i].Constraints.
Add
(constraints[j].Clone(ds));
fx\src\data\System\Data\DataTable.cs (5)
567
Constraints.
Add
(uc);
1602
Constraints.
Add
(key);
2292
clone.Constraints.
Add
(newforeign);
2297
clone.Constraints.
Add
(unique.Clone(clone));
5828
destinationTable.Constraints.
Add
(newFKC); // we know that the dest table is already in the table
fx\src\data\System\Data\Merger.cs (2)
410
dest.Table.Constraints.
Add
(dest);
415
dest.Table.Constraints.
Add
(dest);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
946
constraints.
Add
(unique);
fx\src\data\System\Data\XMLSchema.cs (1)
1121
fKey[0].Table.Constraints.
Add
(fkc);