2 instantiations of DataTableRelationCollection
System.Data (2)
fx\src\data\System\Data\DataTable.cs (2)
1059
childRelationsCollection = new DataRelationCollection.
DataTableRelationCollection
(this, false);
1451
parentRelationsCollection = new DataRelationCollection.
DataTableRelationCollection
(this, true);
12 references to DataTableRelationCollection
System.Data (12)
fx\src\data\System\Data\DataRelation.cs (4)
390
((DataRelationCollection.
DataTableRelationCollection
)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
391
((DataRelationCollection.
DataTableRelationCollection
)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
395
((DataRelationCollection.
DataTableRelationCollection
)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
396
((DataRelationCollection.
DataTableRelationCollection
)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
fx\src\data\System\Data\DataRelationCollection.cs (4)
711
((DataRelationCollection.
DataTableRelationCollection
)(relation.ParentTable.ChildRelations)).Add(relation); // Caching in ParentTable -> ChildRelations
712
((DataRelationCollection.
DataTableRelationCollection
)(relation.ChildTable.ParentRelations)).Add(relation); // Caching in ChildTable -> ParentRelations
758
((DataRelationCollection.
DataTableRelationCollection
)(relation.ParentTable.ChildRelations)).Remove(relation); // Remove Cache from ParentTable -> ChildRelations
759
((DataRelationCollection.
DataTableRelationCollection
)(relation.ChildTable.ParentRelations)).Remove(relation); // Removing Cache from ChildTable -> ParentRelations
fx\src\data\System\Data\DataViewListener.cs (4)
96
((DataRelationCollection.
DataTableRelationCollection
)(table.ChildRelations)).RelationPropertyChanged += handlerChildRelation;
100
((DataRelationCollection.
DataTableRelationCollection
)(table.ParentRelations)).RelationPropertyChanged += handlerParentRelation;
119
((DataRelationCollection.
DataTableRelationCollection
)(table.ChildRelations)).RelationPropertyChanged -= handlerChildRelation;
123
((DataRelationCollection.
DataTableRelationCollection
)(table.ParentRelations)).RelationPropertyChanged -= handlerParentRelation;