54 references to ChildRelations
System.Data (54)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
916
DataRelationCollection ChildRelations = table.
ChildRelations
;
fx\src\data\System\Data\ConstraintCollection.cs (4)
351
for (int i = 0; i < Table.
ChildRelations
.Count; i++) {
352
DataRelation rel = Table.
ChildRelations
[i];
390
for (int i = 0; i < table.
ChildRelations
.Count; i++) {
391
table.
ChildRelations
[i].SetParentKeyConstraint(null);
fx\src\data\System\Data\DataColumn.cs (1)
1612
rels = table.
ChildRelations
;
fx\src\data\System\Data\DataColumnCollection.cs (3)
456
for (int i = 0; i < table.
ChildRelations
.Count; i++) {
457
if (table.
ChildRelations
[i].ParentKey.ContainsColumn(column)) {
461
throw ExceptionBuilder.CannotRemoveChildKey(table.
ChildRelations
[i].RelationName);
fx\src\data\System\Data\DataRelation.cs (2)
390
((DataRelationCollection.DataTableRelationCollection)(ParentTable.
ChildRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
395
((DataRelationCollection.DataTableRelationCollection)(ParentTable.
ChildRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
fx\src\data\System\Data\DataRelationCollection.cs (2)
711
((DataRelationCollection.DataTableRelationCollection)(relation.ParentTable.
ChildRelations
)).Add(relation); // Caching in ParentTable -> ChildRelations
758
((DataRelationCollection.DataTableRelationCollection)(relation.ParentTable.
ChildRelations
)).Remove(relation); // Remove Cache from ParentTable -> ChildRelations
fx\src\data\System\Data\DataRow.cs (2)
740
return GetChildRows(_table.
ChildRelations
[relationName], DataRowVersion.Default);
744
return GetChildRows(_table.
ChildRelations
[relationName], version);
fx\src\data\System\Data\DataRowView.cs (1)
201
return CreateChildView(DataView.Table.
ChildRelations
[relationName], followParent);
fx\src\data\System\Data\DataTable.cs (13)
1805
foreach (DataRelation rel in
ChildRelations
)
1817
foreach(DataRelation rel in
ChildRelations
) {
1851
foreach (DataRelation rel in
ChildRelations
)
2198
foreach( DataRelation r in sourceTable.
ChildRelations
) {
3646
dr = this.
ChildRelations
;
3918
for (int j = 0; j <
ChildRelations
.Count; j++) {
3919
DataRelation relation =
ChildRelations
[j];
4397
int relationsCount =
ChildRelations
.Count;
4403
props[columnsCount + i] = new DataRelationPropertyDescriptor(
ChildRelations
[i]);
5868
foreach( DataRelation r in currentTable.
ChildRelations
) {
5877
foreach( DataRelation r in table.
ChildRelations
) {
6392
for (int j = 0; j <
ChildRelations
.Count; j++) {
6393
DataRelation relation =
ChildRelations
[j];
fx\src\data\System\Data\DataTableCollection.cs (1)
389
if (table.
ChildRelations
.Count != 0 || table.ParentRelations.Count != 0) {
fx\src\data\System\Data\DataViewListener.cs (4)
96
((DataRelationCollection.DataTableRelationCollection)(table.
ChildRelations
)).RelationPropertyChanged += handlerChildRelation;
97
table.
ChildRelations
.CollectionChanged += handlerChildRelation;
119
((DataRelationCollection.DataTableRelationCollection)(table.
ChildRelations
)).RelationPropertyChanged -= handlerChildRelation;
120
table.
ChildRelations
.CollectionChanged -= handlerChildRelation;
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
84
relations = table.
ChildRelations
;
fx\src\data\System\Data\XDRSchema.cs (1)
587
DataRelationCollection childRelations = table.
ChildRelations
;
fx\src\data\System\Data\XMLDiffLoader.cs (1)
46
foreach( DataRelation r in dt.
ChildRelations
) {
fx\src\data\System\Data\xmlsaver.cs (7)
416
foreach( DataRelation r in dt.
ChildRelations
) {
425
foreach( DataRelation r in dt.
ChildRelations
) {
1536
DataRelationCollection childRelations = table.
ChildRelations
;
1645
DataRelationCollection childRelations = table.
ChildRelations
;
1999
foreach( DataRelation r in dt.
ChildRelations
) {
2394
foreach( DataRelation r in dt.
ChildRelations
) {
2528
foreach( DataRelation r in row.Table.
ChildRelations
) {
fx\src\data\System\Data\XMLSchema.cs (3)
699
DataRelationCollection childRelations = dt.
ChildRelations
;// WebData 113251 if we nulling NS of parent table,
812
DataRelationCollection childRelations = table.
ChildRelations
;
1476
DataRelationCollection childRelations = table.
ChildRelations
;
fx\src\data\System\Data\XmlToDatasetMap.cs (3)
289
foreach( DataRelation r in t.
ChildRelations
) { // Do we have a child tables ?
358
foreach( DataRelation r in t.
ChildRelations
) { // Add nested tables information
392
foreach(DataRelation childRelations in ((DataTable)tableList[nCounter]).
ChildRelations
) {
fx\src\data\System\NewXml\XmlDataDocument.cs (4)
709
foreach( DataRelation r in row.Table.
ChildRelations
) {
2771
foreach(DataRelation r in tableList[readPos].
ChildRelations
) {
2789
foreach(DataRelation r in rootTable.
ChildRelations
) {
2801
foreach(DataRelation r in tableList[counter].
ChildRelations
) {