37 references to ChildKey
System.Data (37)
fx\src\data\System\Data\DataColumn.cs (2)
1525
DataKey key = relation.
ChildKey
;
1606
key = rels[i].
ChildKey
;
fx\src\data\System\Data\DataColumnCollection.cs (1)
449
if (table.ParentRelations[i].
ChildKey
.ContainsColumn(column)) {
fx\src\data\System\Data\DataRelation.cs (5)
302
ChildTable.recordManager.SetKeyValues(childRow.tempRecord,
ChildKey
, parentKeyValues);
305
ChildTable.recordManager.SetKeyValues(childRow.newRecord,
ChildKey
, parentKeyValues);
308
ChildTable.recordManager.SetKeyValues(childRow.oldRecord,
ChildKey
, parentKeyValues);
483
ForeignKeyConstraint constraint = ChildTable.Constraints.FindForeignKeyConstraint(
ChildKey
.ColumnsReference, ParentKey.ColumnsReference);
707
childColumns[i] = child.Columns[
ChildKey
.ColumnsReference[i].ColumnName];
fx\src\data\System\Data\DataRelationCollection.cs (4)
701
DataKey childKey = relation.
ChildKey
;
704
if (childKey.ColumnsEqual(((DataRelation)relations[i]).
ChildKey
)) {
715
relation.
ChildKey
.GetSortIndex().AddRef();
750
relation.
ChildKey
.GetSortIndex().RemoveRef();
fx\src\data\System\Data\DataRow.cs (12)
770
return DataRelation.GetChildRows(relation.ParentKey, relation.
ChildKey
, this, version);
810
if (relation.
ChildKey
.Table != _table)
813
return DataRelation.GetParentRow(relation.ParentKey, relation.
ChildKey
, this, version);
873
if (relation.
ChildKey
.Table != _table)
876
return DataRelation.GetParentRows(relation.ParentKey, relation.
ChildKey
, this, version);
1169
this.SetKeyValues(relation.
ChildKey
, parentKeyValues);
1213
if (relation.
ChildKey
.Table != _table)
1214
throw ExceptionBuilder.SetParentRowTableMismatch(relation.
ChildKey
.Table.TableName, _table.TableName);
1220
this.SetKeyValues(relation.
ChildKey
, parentKeyValues);
1237
if (relation.
ChildKey
.Table != _table)
1238
throw ExceptionBuilder.SetParentRowTableMismatch(relation.
ChildKey
.Table.TableName, _table.TableName);
1243
this.SetKeyValues(relation.
ChildKey
, parentKeyValues);
fx\src\data\System\Data\Merger.cs (3)
463
dest = destRelation.
ChildKey
.ColumnsReference[i];
464
src = relation.
ChildKey
.ColumnsReference[i];
502
childColumns[i] = child.Columns[relation.
ChildKey
.ColumnsReference[i].ColumnName];
fx\src\data\System\Data\RelationshipConverter.cs (4)
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\xmlsaver.cs (4)
978
root.SetAttribute(Keywords.MSD_CHILD, Keywords.MSDNS, rel.
ChildKey
.Table.EncodedTableName);
983
if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.
ChildKey
.Table.TableName) ==-3))
984
root.SetAttribute( Keywords.MSD_CHILDTABLENS, Keywords.MSDNS, rel.
ChildKey
.Table.Namespace);
1000
key = rel.
ChildKey
.ColumnsReference;
fx\src\data\System\NewXml\XmlDataDocument.cs (2)
1410
if ( relation.
ChildKey
.ContainsColumn( col ) )
1527
DataColumn[] columns = relation.
ChildKey
.ColumnsReference;