2 types derived from DataRelationCollection
System.Data (2)
fx\src\data\System\Data\DataRelationCollection.cs (2)
485internal sealed class DataTableRelationCollection : DataRelationCollection { 622internal sealed class DataSetRelationCollection : DataRelationCollection {
43 references to DataRelationCollection
System.Data (43)
fx\src\data\System\Data\CodeGen\datacache.cs (3)
224DataRelationCollection relations = childTable.ParentRelations; 916DataRelationCollection ChildRelations = table.ChildRelations; 930DataRelationCollection ParentRelations = table.ParentRelations;
fx\src\data\System\Data\DataColumn.cs (1)
1602DataRelationCollection rels = table.ParentRelations;
fx\src\data\System\Data\DataRelation.cs (5)
360/// data set's <see cref='System.Data.DataRelationCollection'/>. 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\DataSet.cs (7)
52private readonly DataRelationCollection relationCollection; 106this.relationCollection = new DataRelationCollection.DataSetRelationCollection(this); 912public DataRelationCollection Relations { 1069((DataRelationCollection.DataSetRelationCollection)Relations).FinishInitRelations(); 1145DataRelationCollection rels = Relations; 1335DataRelationCollection relations = row.Table.ParentRelations; 2701internal DataRelationCollection GetParentRelations(DataTable table)
fx\src\data\System\Data\DataTable.cs (7)
61internal DataRelationCollection parentRelationsCollection; 62internal DataRelationCollection childRelationsCollection; 1056public DataRelationCollection ChildRelations { 1059childRelationsCollection = new DataRelationCollection.DataTableRelationCollection(this, false); 1448public DataRelationCollection ParentRelations { 1451parentRelationsCollection = new DataRelationCollection.DataTableRelationCollection(this, true); 3639DataRelationCollection dr = this.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;
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
83DataRelationCollection relations;
fx\src\data\System\Data\Filter\LookupNode.cs (1)
38DataRelationCollection relations;
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
810DataRelationCollection rels = Table.ParentRelations;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1037DataRelationCollection relations = _dataSet.Relations;
fx\src\data\System\Data\XDRSchema.cs (1)
587DataRelationCollection childRelations = table.ChildRelations;
fx\src\data\System\Data\xmlsaver.cs (2)
1536DataRelationCollection childRelations = table.ChildRelations; 1645DataRelationCollection childRelations = table.ChildRelations;
fx\src\data\System\Data\XMLSchema.cs (4)
375DataRelationCollection rels = _ds.Relations; 699DataRelationCollection childRelations = dt.ChildRelations;// WebData 113251 if we nulling NS of parent table, 812DataRelationCollection childRelations = table.ChildRelations; 1476DataRelationCollection childRelations = table.ChildRelations;
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1991foreach ( DataRelation relTemp in (DataRelationCollection)oRelationsCollection ) {