48 references to Relations
System.Data (48)
fx\src\data\System\Data\CodeGen\datacache.cs (3)
1025
for (int i = 0; i < dataSet.
Relations
.Count; i++) {
1027
dataSetClass.Members.Add(FieldDecl(typeof(DataRelation), RelationFieldName(dataSet.
Relations
[i])));
1317
foreach(DataRelation relation in dataSet.
Relations
) {
fx\src\data\System\Data\DataRelation.cs (3)
385
dataSet.
Relations
.RegisterName(value);
387
dataSet.
Relations
.UnregisterName(relationName);
526
((ChildTable.NestedParentsCount > 0) && ! (ChildTable.DataSet.
Relations
.Contains(this.RelationName))))) {
fx\src\data\System\Data\DataRelationCollection.cs (2)
573
GetDataSet().
Relations
.Add(relation);
617
GetDataSet().
Relations
.Remove(relation);
fx\src\data\System\Data\DataRowView.cs (1)
95
else if (dataView.Table.DataSet != null && dataView.Table.DataSet.
Relations
.Contains(property)) {
fx\src\data\System\Data\DataSet.cs (13)
449
foreach (DataRelation rel in
Relations
) {
508
Relations
.Add(rel);
920
/// Indicates whether <see cref='
Relations
'/> property should be persisted.
929
/// Resets the <see cref='System.Data.DataSet.
Relations
'/> property to its default state.
934
Relations
.Clear();
1069
((DataRelationCollection.DataSetRelationCollection)
Relations
).FinishInitRelations();
1145
DataRelationCollection rels =
Relations
;
1149
ds.
Relations
.Add(rel);
3021
Relations
.Clear();
3034
for (int i = 0; i <
Relations
.Count; i++) {
3035
relation =
Relations
[i];
3064
for (int i = 0; i <
Relations
.Count; i++) {
3065
relation =
Relations
[i];
fx\src\data\System\Data\DataTable.cs (2)
5835
if (!this.DataSet.
Relations
.Contains(rel.RelationName))
5836
this.DataSet.
Relations
.Add(rel.Clone(this.DataSet));
fx\src\data\System\Data\DataViewManager.cs (3)
41
this.dataSet.
Relations
.CollectionChanged += new CollectionChangeEventHandler(RelationCollectionChanged);
68
this.dataSet.
Relations
.CollectionChanged -= new CollectionChangeEventHandler(RelationCollectionChanged);
73
this.dataSet.
Relations
.CollectionChanged += new CollectionChangeEventHandler(RelationCollectionChanged);
fx\src\data\System\Data\Merger.cs (5)
79
for (int i = 0; i < source.
Relations
.Count; i++) {
80
MergeRelation(source.
Relations
[i]);
440
int iDest = dataSet.
Relations
.InternalIndexOf(relation.RelationName);
444
destRelation = dataSet.
Relations
[iDest];
507
dataSet.
Relations
.Add(destRelation);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1037
DataRelationCollection relations = _dataSet.
Relations
;
fx\src\data\System\Data\XDRSchema.cs (1)
610
_tableChild.DataSet.
Relations
.Add(relation);
fx\src\data\System\Data\xmlsaver.cs (5)
320
for(int r = 0; r < ds.
Relations
.Count; r ++) {
321
if(_PropsNotEmpty(ds.
Relations
[r].extendedProperties)) {
656
rels = new DataRelation[ds.
Relations
.Count];
657
for (int i = 0 ; i < ds.
Relations
.Count ; i++) {
658
rels[i] = ds.
Relations
[i];
fx\src\data\System\Data\XMLSchema.cs (7)
375
DataRelationCollection rels = _ds.
Relations
;
441
_ds.
Relations
.Add(relation);
1130
int iExisting = fKey[0].Table.DataSet.
Relations
.InternalIndexOf(relName);
1132
if (fKey[0].Table.DataSet.
Relations
[iExisting].RelationName != relName)
1139
pKey[0].Table.DataSet.
Relations
.Add(relation);
1151
relation = fKey[0].Table.DataSet.
Relations
[iExisting];
1517
_tableChild.DataSet.
Relations
.Add(relation);
fx\src\data\System\NewXml\XmlDataDocument.cs (2)
252
dataSet.
Relations
.CollectionChanging += new CollectionChangeEventHandler( this.OnDataSetRelationsChanging );
265
foreach ( DataRelation rel in dataSet.
Relations
) {