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)
1652
key = rels
[
i].ChildKey;
1664
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)
1204
DataRelation rel = rels
[
i].Clone(ds);
1426
DataRow[] relatedRows = row.GetParentRows(relations
[
relatedIndex], DataRowVersion.Current);
3325
relation = Relations
[
i];
3365
relation = Relations
[
i];
System\Data\DataTable.cs (5)
4359
DataRelation relation = ParentRelations
[
j];
4369
DataRelation relation = ChildRelations
[
j];
4918
props[columnsCount + i] = new DataRelationPropertyDescriptor(ChildRelations
[
i]);
7240
DataRelation relation = ParentRelations
[
j];
7272
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)
770
rels[i] = ds.Relations
[
i];
1809
if (childRelations
[
j].Nested && childRelations
[
j].ParentKey.ColumnsReference.Length == 1 && childRelations
[
j].ParentKey.ColumnsReference[0] == col)
1929
if (!childRelations
[
j].Nested)
1932
DataTable childTable = childRelations
[
j].ChildTable;
1967
if (childRelations
[
j].ChildKeyConstraint != null)
1976
nodeApp.AppendChild(HandleRelation(childRelations
[
j], dc));
2739
if (table.ParentRelations
[
j].Nested)
2741
if (table.ParentRelations
[
j].ParentTable == table)
System\Data\XMLSchema.cs (12)
445
if (string.Equals(rels
[
i].RelationName, strName, StringComparison.Ordinal))
818
if (childRelations
[
j].Nested && dt.Namespace == childRelations
[
j].ChildTable.Namespace)
821
childRelations
[
j].ChildTable._tableNamespace = null;
955
if (!childRelations
[
j].Nested)
958
if (child == childRelations
[
j].ChildTable)
959
relation = childRelations
[
j];
1336
if (fKey[0].Table!.DataSet!.Relations
[
iExisting].RelationName != relName)
1359
relation = fKey[0].Table!.DataSet!.Relations
[
iExisting];
1716
if (!childRelations
[
j].Nested)
1719
if (_tableChild == childRelations
[
j].ChildTable)
1720
relation = childRelations
[
j];