2 overrides of
System.Data.Common (2)
System\Data\DataRelationCollection.cs (2)
555
public override DataRelation
this
[int index]
736
public override DataRelation
this
[int index]
55 references to
System.Data.Common (55)
System\Data\ConstraintCollection.cs (4)
388
DataRelation rel = Table.ChildRelations
[
i];
398
DataRelation rel = Table.ParentRelations
[
i];
429
_table.ParentRelations
[
i].SetChildKeyConstraint(null);
433
_table.ChildRelations
[
i].SetParentKeyConstraint(null);
System\Data\DataColumn.cs (2)
1651
key = rels
[
i].ChildKey;
1663
key = rels
[
i].ParentKey;
System\Data\DataColumnCollection.cs (4)
491
if (_table.ParentRelations
[
i].ChildKey.ContainsColumn(column))
496
throw ExceptionBuilder.CannotRemoveChildKey(_table.ParentRelations
[
i].RelationName);
502
if (_table.ChildRelations
[
i].ParentKey.ContainsColumn(column))
507
throw ExceptionBuilder.CannotRemoveChildKey(_table.ChildRelations
[
i].RelationName);
System\Data\DataRelationCollection.cs (4)
265
_inTransition = this
[
i];
405
if (NamesEqual(name, this
[
i].RelationName, true, locale) != 0)
407
throw ExceptionBuilder.DuplicateRelation(this
[
i].RelationName);
455
DataRelation dr = this
[
index];
System\Data\DataSet.cs (4)
1194
DataRelation rel = rels
[
i].Clone(ds);
1416
DataRow[] relatedRows = row.GetParentRows(relations
[
relatedIndex], DataRowVersion.Current);
3269
relation = Relations
[
i];
3309
relation = Relations
[
i];
System\Data\DataTable.cs (5)
4354
DataRelation relation = ParentRelations
[
j];
4364
DataRelation relation = ChildRelations
[
j];
4913
props[columnsCount + i] = new DataRelationPropertyDescriptor(ChildRelations
[
i]);
7181
DataRelation relation = ParentRelations
[
j];
7213
DataRelation relation = ChildRelations
[
j];
System\Data\ForeignKeyConstraint.cs (2)
911
if (rels
[
i].ChildKeyConstraint == this)
913
return rels
[
i];
System\Data\Merger.cs (2)
81
MergeRelation(source.Relations
[
i]);
534
destRelation = _dataSet.Relations
[
iDest];
System\Data\XDRSchema.cs (3)
615
if (!childRelations
[
j].Nested)
618
if (_tableChild == childRelations
[
j].ChildTable)
619
relation = childRelations
[
j];
System\Data\xmlsaver.cs (13)
368
if (_PropsNotEmpty(ds.Relations
[
r]._extendedProperties))
517
if (table.ParentRelations
[
j].Nested)
519
if (table.ParentRelations
[
j].ParentTable == table)
769
rels[i] = ds.Relations
[
i];
1799
if (childRelations
[
j].Nested && childRelations
[
j].ParentKey.ColumnsReference.Length == 1 && childRelations
[
j].ParentKey.ColumnsReference[0] == col)
1919
if (!childRelations
[
j].Nested)
1922
DataTable childTable = childRelations
[
j].ChildTable;
1957
if (childRelations
[
j].ChildKeyConstraint != null)
1966
nodeApp.AppendChild(HandleRelation(childRelations
[
j], dc));
2724
if (table.ParentRelations
[
j].Nested)
2726
if (table.ParentRelations
[
j].ParentTable == table)
System\Data\XMLSchema.cs (12)
445
if (string.Equals(rels
[
i].RelationName, strName, StringComparison.Ordinal))
816
if (childRelations
[
j].Nested && dt.Namespace == childRelations
[
j].ChildTable.Namespace)
819
childRelations
[
j].ChildTable._tableNamespace = null;
952
if (!childRelations
[
j].Nested)
955
if (child == childRelations
[
j].ChildTable)
956
relation = childRelations
[
j];
1330
if (fKey[0].Table!.DataSet!.Relations
[
iExisting].RelationName != relName)
1353
relation = fKey[0].Table!.DataSet!.Relations
[
iExisting];
1708
if (!childRelations
[
j].Nested)
1711
if (_tableChild == childRelations
[
j].ChildTable)
1712
relation = childRelations
[
j];