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