Base:
property
Table
System.Data.Constraint.Table
33 references to Table
System.Data (33)
fx\src\data\System\Data\ConstraintEnumerator.cs (1)
102return((constraint is ForeignKeyConstraint) && (((ForeignKeyConstraint)constraint).Table == table));
fx\src\data\System\Data\DataSet.cs (3)
1138if (foreign.Table == foreign.RelatedTable) 3047if (constraint.Table.CaseSensitive != constraint.RelatedTable.CaseSensitive) 3077if (constraint.Table.Locale.LCID != constraint.RelatedTable.Locale.LCID)
fx\src\data\System\Data\DataTable.cs (6)
508bool shouldSerialize = (allConstraints == true) || (fk.Table == this && fk.RelatedTable == this); 518childInfo[0] = allConstraints ? this.DataSet.Tables.IndexOf(fk.Table) : 0 ; //Since the constraint is on the current table, this is the child table. 2263if (foreign.Table == foreign.RelatedTable) { 2289if (foreign.Table == foreign.RelatedTable) { 5824if (fkc.Table != fkc.RelatedTable) { 5825if (tableList.Contains(fkc.Table) && tableList.Contains(fkc.RelatedTable)) {
fx\src\data\System\Data\DataTableCollection.cs (2)
398if (constraint.Table == table && constraint.RelatedTable == table) // we can go with (constraint.Table == constraint.RelatedTable) 408if (constraint.Table == table && constraint.RelatedTable == table) // bug 97670
fx\src\data\System\Data\ForeignKeyConstraint.cs (19)
175if (Table != constraints.Table) 177if (Table.Locale.LCID != RelatedTable.Locale.LCID || Table.CaseSensitive != RelatedTable.CaseSensitive) 218if (Table.DataSet == null || !Table.DataSet.EnforceConstraints) 382if (!Table.DataSet.fInReadXml && IsKeyNull(currentKey)) { 452if (Table.DataSet.EnforceConstraints && Table.Rows.Count > 0) { 453throw ExceptionBuilder.FailedClearParentTable(table.TableName, ConstraintName, Table.TableName); 458Debug.Assert(Table.DataSet != null, "Relation " + ConstraintName + " isn't part of a DataSet, so this check shouldn't be happening."); 459if (!Table.DataSet.EnforceConstraints) 467Debug.Assert(Table.DataSet != null, "ForeignKeyConstraint " + ConstraintName + " isn't part of a DataSet, so this check shouldn't be happening."); 503Table.DataSet != null && Table.DataSet.EnforceConstraints && 617iDest = destination.Tables.IndexOf(Table.TableName); 620iDest = destination.Tables.IndexOf(Table.TableName, Table.Namespace, false); // pass false for last param 669Debug.Assert(this.Table == this.RelatedTable, "We call this clone just if we have the same datatable as parent and child "); 810DataRelationCollection rels = Table.ParentRelations;
fx\src\data\System\Data\xmlsaver.cs (2)
1782if (!_tables.Contains(foreign.RelatedTable) || !_tables.Contains(foreign.Table)) 1843constraint.SetAttribute (Keywords.MSD_TABLENS, Keywords.MSDNS, foreign.Table.Namespace);