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