43 references to Table
System.Data.Common (43)
System\Data\ConstraintConverter.cs (1)
54return new InstanceDescriptor(ctor, new object[] { constr.ConstraintName, constr.ParentKey.Table.TableName, constr.ParentColumnNames,
System\Data\DataRelation.cs (7)
182return _childKey.Table; 224return childKey.Table.NewRowArray(0); 239return parentKey.Table.NewRowArray(0); 274return parentKey.Table._recordManager[index.GetRecord(range.Min)]; 340return _parentKey.Table; 641if (_parentKey.Table.DataSet != _childKey.Table.DataSet)
System\Data\DataRow.cs (10)
828if (relation.ParentKey.Table != _table) 873if (relation.ChildKey.Table != _table) 935if (relation.ChildKey.Table != _table) 1280if (relation.ParentKey.Table == parentRow._table) 1328if (relation.ChildKey.Table != _table) 1330throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName); 1333if (relation.ParentKey.Table != parentRow._table) 1335throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.Table.TableName, parentRow._table.TableName); 1354if (relation.ChildKey.Table != _table) 1356throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName);
System\Data\DataRowView.cs (1)
148if (relation == null || relation.ParentKey.Table != DataView.Table)
System\Data\ForeignKeyConstraint.cs (6)
137return _childKey.Table; 600if (_childKey.Table == _parentKey.Table && childRow._tempRecord != -1) 631if (_parentKey.Table.DataSet != _childKey.Table.DataSet) 928return _parentKey.Table;
System\Data\RelatedView.cs (2)
27Debug.Assert(Table == _childKey.Table, "Key.Table Must be equal to Current Table"); 37Debug.Assert(Table == _childKey.Table, "Key.Table Must be equal to Current Table");
System\Data\RelationshipConverter.cs (8)
48DataTable parentTable = rel.ParentKey.Table; 49DataTable childTable = rel.ChildKey.Table; 56values = new object[] { rel.RelationName, rel.ParentKey.Table.TableName, rel.ChildKey.Table.TableName, rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested }; 64values = new object[] { rel.RelationName, rel.ParentKey.Table.TableName, rel.ParentKey.Table.Namespace, rel.ChildKey.Table.TableName, 65rel.ChildKey.Table.Namespace, rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested };
System\Data\UniqueConstraint.cs (1)
435return _key.Table;
System\Data\xmlsaver.cs (6)
1161root.SetAttribute(Keywords.MSD_PARENT, Keywords.MSDNS, rel.ParentKey.Table.EncodedTableName); 1162root.SetAttribute(Keywords.MSD_CHILD, Keywords.MSDNS, rel.ChildKey.Table.EncodedTableName); 1164if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ParentKey.Table.TableName) == -3)) 1165root.SetAttribute(Keywords.MSD_PARENTTABLENS, Keywords.MSDNS, rel.ParentKey.Table.Namespace); 1167if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ChildKey.Table.TableName) == -3)) 1168root.SetAttribute(Keywords.MSD_CHILDTABLENS, Keywords.MSDNS, rel.ChildKey.Table.Namespace);
System\Xml\XmlDataDocument.cs (1)
2660if (parentRow == null || rel.ParentKey.Table != parentRow.Table)