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