53 references to ChildRelations
System.Data.Common (53)
System\Data\ConstraintCollection.cs (4)
386
for (int i = 0; i < Table.
ChildRelations
.Count; i++)
388
DataRelation rel = Table.
ChildRelations
[i];
431
for (int i = 0; i < _table.
ChildRelations
.Count; i++)
433
_table.
ChildRelations
[i].SetParentKeyConstraint(null);
System\Data\DataColumn.cs (1)
1660
rels = _table.
ChildRelations
;
System\Data\DataColumnCollection.cs (3)
500
for (int i = 0; i < _table.
ChildRelations
.Count; i++)
502
if (_table.
ChildRelations
[i].ParentKey.ContainsColumn(column))
507
throw ExceptionBuilder.CannotRemoveChildKey(_table.
ChildRelations
[i].RelationName);
System\Data\DataRelation.cs (2)
381
((DataRelationCollection.DataTableRelationCollection)(ParentTable.
ChildRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
387
((DataRelationCollection.DataTableRelationCollection)(ParentTable.
ChildRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
System\Data\DataRelationCollection.cs (2)
796
((DataTableRelationCollection)(relation.ParentTable.
ChildRelations
)).Add(relation); // Caching in ParentTable -> ChildRelations
847
((DataTableRelationCollection)(relation.ParentTable.
ChildRelations
)).Remove(relation); // Remove Cache from ParentTable -> ChildRelations
System\Data\DataRow.cs (2)
802
GetChildRows(_table.
ChildRelations
[relationName], DataRowVersion.Default);
805
GetChildRows(_table.
ChildRelations
[relationName], version);
System\Data\DataRowView.cs (1)
178
CreateChildView(DataView.Table!.
ChildRelations
[relationName]!, followParent);
System\Data\DataTable.cs (13)
1939
foreach (DataRelation rel in
ChildRelations
)
1954
foreach (DataRelation rel in
ChildRelations
)
2002
foreach (DataRelation rel in
ChildRelations
)
2388
foreach (DataRelation r in sourceTable.
ChildRelations
)
4044
dr =
ChildRelations
;
4367
for (int j = 0; j <
ChildRelations
.Count; j++)
4369
DataRelation relation =
ChildRelations
[j];
4909
int relationsCount =
ChildRelations
.Count;
4918
props[columnsCount + i] = new DataRelationPropertyDescriptor(
ChildRelations
[i]);
6664
foreach (DataRelation r in currentTable.
ChildRelations
)
6677
foreach (DataRelation r in table.
ChildRelations
)
7270
for (int j = 0; j <
ChildRelations
.Count; j++)
7272
DataRelation relation =
ChildRelations
[j];
System\Data\DataTableCollection.cs (1)
405
if (table.
ChildRelations
.Count != 0 || table.ParentRelations.Count != 0)
System\Data\DataViewListener.cs (4)
109
((DataRelationCollection.DataTableRelationCollection)(table.
ChildRelations
)).RelationPropertyChanged += handlerChildRelation;
110
table.
ChildRelations
.CollectionChanged += handlerChildRelation;
132
((DataRelationCollection.DataTableRelationCollection)(table.
ChildRelations
)).RelationPropertyChanged -= handlerChildRelation;
133
table.
ChildRelations
.CollectionChanged -= handlerChildRelation;
System\Data\Filter\AggregateNode.cs (1)
83
relations = table.
ChildRelations
;
System\Data\XDRSchema.cs (1)
611
DataRelationCollection childRelations = table.
ChildRelations
;
System\Data\XMLDiffLoader.cs (1)
41
foreach (DataRelation r in dt.
ChildRelations
)
System\Data\xmlsaver.cs (7)
481
foreach (DataRelation r in dt.
ChildRelations
)
493
foreach (DataRelation r in dt.
ChildRelations
)
1806
DataRelationCollection childRelations = table.
ChildRelations
;
1923
DataRelationCollection childRelations = table.
ChildRelations
;
2307
foreach (DataRelation r in dt.
ChildRelations
)
2767
foreach (DataRelation r in dt.
ChildRelations
)
2929
foreach (DataRelation r in row.Table.
ChildRelations
)
System\Data\XMLSchema.cs (3)
814
DataRelationCollection childRelations = dt.
ChildRelations
;
952
DataRelationCollection childRelations = table.
ChildRelations
;
1713
DataRelationCollection childRelations = table.
ChildRelations
;
System\Data\XmlToDatasetMap.cs (3)
318
foreach (DataRelation r in t.
ChildRelations
)
390
foreach (DataRelation r in t.
ChildRelations
)
424
foreach (DataRelation childRelations in ((DataTable)tableList[nCounter]!).
ChildRelations
)
System\Xml\XmlDataDocument.cs (4)
788
foreach (DataRelation r in row.Table.
ChildRelations
)
3081
foreach (DataRelation r in tableList[readPos].
ChildRelations
)
3101
foreach (DataRelation r in rootTable.
ChildRelations
)
3118
foreach (DataRelation r in tableList[counter].
ChildRelations
)