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