2 types derived from DataRelationCollection
System.Data.Common (2)
System\Data\DataRelationCollection.cs (2)
522
internal sealed class DataTableRelationCollection :
DataRelationCollection
687
internal sealed class DataSetRelationCollection :
DataRelationCollection
38 references to DataRelationCollection
netstandard (1)
netstandard.cs (1)
493
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
DataRelationCollection
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
66
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
DataRelationCollection
))]
System.Data.Common (36)
System\Data\DataColumn.cs (1)
1647
DataRelationCollection
rels = _table!.ParentRelations;
System\Data\DataRelation.cs (5)
346
/// data set's <see cref='System.Data.
DataRelationCollection
'/>.
381
((
DataRelationCollection
.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
382
((
DataRelationCollection
.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
387
((
DataRelationCollection
.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
388
((
DataRelationCollection
.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
System\Data\DataSet.cs (7)
45
private readonly
DataRelationCollection
_relationCollection;
97
_relationCollection = new
DataRelationCollection
.DataSetRelationCollection(this);
1022
public
DataRelationCollection
Relations => _relationCollection;
1106
((
DataRelationCollection
.DataSetRelationCollection)Relations).FinishInitRelations();
1201
DataRelationCollection
rels = Relations;
1422
DataRelationCollection
relations = row.Table.ParentRelations;
3000
internal static
DataRelationCollection
GetParentRelations(DataTable table) => table.ParentRelations;
System\Data\DataTable.cs (7)
57
internal
DataRelationCollection
? _parentRelationsCollection;
58
internal
DataRelationCollection
? _childRelationsCollection;
1182
public
DataRelationCollection
ChildRelations =>
1183
_childRelationsCollection ??= new
DataRelationCollection
.DataTableRelationCollection(this, false);
1555
public
DataRelationCollection
ParentRelations => _parentRelationsCollection ??= new
DataRelationCollection
.DataTableRelationCollection(this, true);
4036
DataRelationCollection
dr = ParentRelations;
System\Data\DataViewListener.cs (4)
109
((
DataRelationCollection
.DataTableRelationCollection)(table.ChildRelations)).RelationPropertyChanged += handlerChildRelation;
113
((
DataRelationCollection
.DataTableRelationCollection)(table.ParentRelations)).RelationPropertyChanged += handlerParentRelation;
132
((
DataRelationCollection
.DataTableRelationCollection)(table.ChildRelations)).RelationPropertyChanged -= handlerChildRelation;
136
((
DataRelationCollection
.DataTableRelationCollection)(table.ParentRelations)).RelationPropertyChanged -= handlerParentRelation;
System\Data\Filter\AggregateNode.cs (1)
82
DataRelationCollection
relations;
System\Data\Filter\LookupNode.cs (1)
35
DataRelationCollection
relations;
System\Data\ForeignKeyConstraint.cs (1)
907
DataRelationCollection
rels = Table!.ParentRelations;
System\Data\ProviderBase\SchemaMapping.cs (1)
1210
DataRelationCollection
relations = _dataSet.Relations;
System\Data\XDRSchema.cs (1)
611
DataRelationCollection
childRelations = table.ChildRelations;
System\Data\xmlsaver.cs (2)
1806
DataRelationCollection
childRelations = table.ChildRelations;
1923
DataRelationCollection
childRelations = table.ChildRelations;
System\Data\XMLSchema.cs (4)
434
DataRelationCollection
rels = _ds!.Relations;
814
DataRelationCollection
childRelations = dt.ChildRelations;
952
DataRelationCollection
childRelations = table.ChildRelations;
1713
DataRelationCollection
childRelations = table.ChildRelations;
System\Xml\XmlDataDocument.cs (1)
2212
foreach (DataRelation relTemp in (
DataRelationCollection
)oRelationsCollection!)