52 references to ParentRelations
System.Data (52)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
224
DataRelationCollection relations = childTable.
ParentRelations
;
930
DataRelationCollection ParentRelations = table.
ParentRelations
;
fx\src\data\System\Data\ConstraintCollection.cs (4)
359
for (int i = 0; i < Table.
ParentRelations
.Count; i++) {
360
DataRelation rel = Table.
ParentRelations
[i];
387
for (int i = 0; i < table.
ParentRelations
.Count; i++) {
388
table.
ParentRelations
[i].SetChildKeyConstraint(null);
fx\src\data\System\Data\DataColumn.cs (3)
1520
DataRelation[] parentRelations = new DataRelation[Table.
ParentRelations
.Count];
1521
Table.
ParentRelations
.CopyTo(parentRelations, 0);
1602
DataRelationCollection rels = table.
ParentRelations
;
fx\src\data\System\Data\DataColumnCollection.cs (3)
448
for (int i = 0; i < table.
ParentRelations
.Count; i++) {
449
if (table.
ParentRelations
[i].ChildKey.ContainsColumn(column)) {
453
throw ExceptionBuilder.CannotRemoveChildKey(table.
ParentRelations
[i].RelationName);
fx\src\data\System\Data\DataRelation.cs (4)
391
((DataRelationCollection.DataTableRelationCollection)(ChildTable.
ParentRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
396
((DataRelationCollection.DataTableRelationCollection)(ChildTable.
ParentRelations
)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
405
foreach(DataRelation rel in ChildTable.
ParentRelations
) {
528
foreach(DataRelation rel in ChildTable.
ParentRelations
) {
fx\src\data\System\Data\DataRelationCollection.cs (2)
712
((DataRelationCollection.DataTableRelationCollection)(relation.ChildTable.
ParentRelations
)).Add(relation); // Caching in ChildTable -> ParentRelations
759
((DataRelationCollection.DataTableRelationCollection)(relation.ChildTable.
ParentRelations
)).Remove(relation); // Removing Cache from ChildTable -> ParentRelations
fx\src\data\System\Data\DataRow.cs (6)
782
return GetParentRow(_table.
ParentRelations
[relationName], DataRowVersion.Default);
786
return GetParentRow(_table.
ParentRelations
[relationName], version);
839
return GetParentRows(_table.
ParentRelations
[relationName], DataRowVersion.Default);
846
return GetParentRows(_table.
ParentRelations
[relationName], version);
1165
foreach (DataRelation relation in _table.
ParentRelations
) {
1227
foreach (DataRelation relation in _table.
ParentRelations
)
fx\src\data\System\Data\DataSet.cs (2)
1335
DataRelationCollection relations = row.Table.
ParentRelations
;
2703
return table.
ParentRelations
;
fx\src\data\System\Data\DataTable.cs (9)
989
foreach(DataRelation rel in
ParentRelations
) {
1493
foreach(DataRelation relation in this.
ParentRelations
) {
1511
foreach(DataRelation relation in this.
ParentRelations
) {
1833
foreach(DataRelation rel in
ParentRelations
){
3639
DataRelationCollection dr = this.
ParentRelations
;
3910
for (int j = 0; j <
ParentRelations
.Count; j++) {
3911
DataRelation relation =
ParentRelations
[j];
6375
for (int j = 0; j <
ParentRelations
.Count; j++) {
6376
DataRelation relation =
ParentRelations
[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)
100
((DataRelationCollection.DataTableRelationCollection)(table.
ParentRelations
)).RelationPropertyChanged += handlerParentRelation;
101
table.
ParentRelations
.CollectionChanged += handlerParentRelation;
123
((DataRelationCollection.DataTableRelationCollection)(table.
ParentRelations
)).RelationPropertyChanged -= handlerParentRelation;
124
table.
ParentRelations
.CollectionChanged -= handlerParentRelation;
fx\src\data\System\Data\Filter\LookupNode.cs (1)
39
relations = table.
ParentRelations
;
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
810
DataRelationCollection rels = Table.
ParentRelations
;
fx\src\data\System\Data\xmlsaver.cs (9)
438
if (table.
ParentRelations
.Count == 0)
442
for (int j = 0; j < table.
ParentRelations
.Count; j++) {
443
if (table.
ParentRelations
[j].Nested) {
444
if (table.
ParentRelations
[j].ParentTable == table) {
1392
foreach (DataRelation rel in col.Table.
ParentRelations
) {
2367
if (table.
ParentRelations
.Count == 0)
2371
for (int j = 0; j < table.
ParentRelations
.Count; j++) {
2372
if (table.
ParentRelations
[j].Nested) {
2373
if (table.
ParentRelations
[j].ParentTable == table) {
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
2758
if (dt.
ParentRelations
.Count == 0) {