43 references to Table
System.Data (43)
fx\src\data\System\Data\ConstraintConverter.cs (1)
59
return new InstanceDescriptor(ctor, new object[] { constr.ConstraintName, constr.ParentKey.
Table
.TableName, constr.ParentColumnNames,
fx\src\data\System\Data\DataRelation.cs (7)
203
return childKey.
Table
;
247
return childKey.
Table
.NewRowArray(0);
260
return parentKey.
Table
.NewRowArray(0);
286
return parentKey.
Table
.recordManager[index.GetRecord(range.Min)];
352
return parentKey.
Table
;
632
if (parentKey.
Table
.DataSet != childKey.
Table
.DataSet) {
fx\src\data\System\Data\DataRow.cs (10)
768
if (relation.ParentKey.
Table
!= _table)
810
if (relation.ChildKey.
Table
!= _table)
873
if (relation.ChildKey.
Table
!= _table)
1167
if (relation.ParentKey.
Table
== parentRow._table) {
1213
if (relation.ChildKey.
Table
!= _table)
1214
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.
Table
.TableName, _table.TableName);
1216
if (relation.ParentKey.
Table
!= parentRow._table)
1217
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.
Table
.TableName, parentRow._table.TableName);
1237
if (relation.ChildKey.
Table
!= _table)
1238
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.
Table
.TableName, _table.TableName);
fx\src\data\System\Data\DataRowView.cs (1)
174
if (relation == null || relation.ParentKey.
Table
!= DataView.Table) {
fx\src\data\System\Data\ForeignKeyConstraint.cs (6)
158
return childKey.
Table
;
530
if (childKey.
Table
== parentKey.
Table
&& childRow.tempRecord != -1) {
555
if (parentKey.
Table
.DataSet != childKey.
Table
.DataSet) {
832
return parentKey.
Table
;
fx\src\data\System\Data\RelatedView.cs (2)
28
Debug.Assert(this.Table == childKey.
Table
, "Key.Table Must be equal to Current Table");
38
Debug.Assert (this.Table == childKey.
Table
, "Key.Table Must be equal to Current Table");
fx\src\data\System\Data\RelationshipConverter.cs (8)
51
DataTable parentTable = rel.ParentKey.
Table
;
52
DataTable childTable = rel.ChildKey.
Table
;
58
values = new object[] { rel.RelationName, rel.ParentKey.
Table
.TableName, rel.ChildKey.
Table
.TableName,rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested };
65
values = new object[] { rel.RelationName, rel.ParentKey.
Table
.TableName, rel.ParentKey.
Table
.Namespace, rel.ChildKey.
Table
.TableName,
66
rel.ChildKey.
Table
.Namespace, rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested };
fx\src\data\System\Data\UniqueConstraint.cs (1)
402
return key.
Table
;
fx\src\data\System\Data\xmlsaver.cs (6)
977
root.SetAttribute(Keywords.MSD_PARENT, Keywords.MSDNS, rel.ParentKey.
Table
.EncodedTableName);
978
root.SetAttribute(Keywords.MSD_CHILD, Keywords.MSDNS, rel.ChildKey.
Table
.EncodedTableName);
980
if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ParentKey.
Table
.TableName) ==-3))
981
root.SetAttribute( Keywords.MSD_PARENTTABLENS, Keywords.MSDNS, rel.ParentKey.
Table
.Namespace);
983
if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ChildKey.
Table
.TableName) ==-3))
984
root.SetAttribute( Keywords.MSD_CHILDTABLENS, Keywords.MSDNS, rel.ChildKey.
Table
.Namespace);
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
2384
if ( parentRow == null || rel.ParentKey.
Table
!= parentRow.Table )