2 overrides of
System.Data (2)
fx\src\data\System\Data\DataRelationCollection.cs (2)
518
public override DataRelation
this
[int index] {
667
public override DataRelation
this
[int index] {
59 references to
System.Data (59)
fx\src\data\System\Data\CodeGen\datacache.cs (4)
226
if (relations
[
i].ParentTable == parentTable) {
921
DataRelation relation = ChildRelations
[
i];
940
DataRelation relation = ParentRelations
[
i];
1027
dataSetClass.Members.Add(FieldDecl(typeof(DataRelation), RelationFieldName(dataSet.Relations
[
i])));
fx\src\data\System\Data\ConstraintCollection.cs (4)
352
DataRelation rel = Table.ChildRelations
[
i];
360
DataRelation rel = Table.ParentRelations
[
i];
388
table.ParentRelations
[
i].SetChildKeyConstraint(null);
391
table.ChildRelations
[
i].SetParentKeyConstraint(null);
fx\src\data\System\Data\DataColumn.cs (2)
1606
key = rels
[
i].ChildKey;
1615
key = rels
[
i].ParentKey;
fx\src\data\System\Data\DataColumnCollection.cs (4)
449
if (table.ParentRelations
[
i].ChildKey.ContainsColumn(column)) {
453
throw ExceptionBuilder.CannotRemoveChildKey(table.ParentRelations
[
i].RelationName);
457
if (table.ChildRelations
[
i].ParentKey.ContainsColumn(column)) {
461
throw ExceptionBuilder.CannotRemoveChildKey(table.ChildRelations
[
i].RelationName);
fx\src\data\System\Data\DataRelationCollection.cs (4)
252
inTransition = this
[
i];
376
if (NamesEqual(name, this
[
i].RelationName, true, locale) != 0) {
377
throw ExceptionBuilder.DuplicateRelation(this
[
i].RelationName);
427
DataRelation dr = this
[
index];
fx\src\data\System\Data\DataSet.cs (4)
1147
DataRelation rel = rels
[
i].Clone(ds);
1338
DataRow[] relatedRows = row.GetParentRows(relations
[
relatedIndex], DataRowVersion.Current);
3035
relation = Relations
[
i];
3065
relation = Relations
[
i];
fx\src\data\System\Data\DataTable.cs (5)
3911
DataRelation relation = ParentRelations
[
j];
3919
DataRelation relation = ChildRelations
[
j];
4403
props[columnsCount + i] = new DataRelationPropertyDescriptor(ChildRelations
[
i]);
6376
DataRelation relation = ParentRelations
[
j];
6393
DataRelation relation = ChildRelations
[
j];
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
813
if (rels
[
i].ChildKeyConstraint == this)
814
return rels
[
i];
fx\src\data\System\Data\Merger.cs (2)
80
MergeRelation(source.Relations
[
i]);
444
destRelation = dataSet.Relations
[
iDest];
fx\src\data\System\Data\XDRSchema.cs (3)
590
if (!childRelations
[
j].Nested)
593
if (_tableChild == childRelations
[
j].ChildTable)
594
relation = childRelations
[
j];
fx\src\data\System\Data\xmlsaver.cs (13)
321
if(_PropsNotEmpty(ds.Relations
[
r].extendedProperties)) {
443
if (table.ParentRelations
[
j].Nested) {
444
if (table.ParentRelations
[
j].ParentTable == table) {
658
rels[i] = ds.Relations
[
i];
1538
if (childRelations
[
j].Nested && childRelations
[
j].ParentKey.ColumnsReference.Length == 1 && childRelations
[
j].ParentKey.ColumnsReference[0] == col)
1650
if (!childRelations
[
j].Nested)
1653
DataTable childTable = childRelations
[
j].ChildTable;
1683
if (childRelations
[
j].ChildKeyConstraint != null)
1692
nodeApp.AppendChild(HandleRelation(childRelations
[
j], dc));
2372
if (table.ParentRelations
[
j].Nested) {
2373
if (table.ParentRelations
[
j].ParentTable == table) {
fx\src\data\System\Data\XMLSchema.cs (12)
385
if (0 == String.Compare(rels
[
i].RelationName, strName, StringComparison.Ordinal))
701
if (childRelations
[
j].Nested && dt.Namespace == childRelations
[
j].ChildTable.Namespace) { // take NS from Parent table
702
childRelations
[
j].ChildTable.tableNamespace = null;
814
if (!childRelations
[
j].Nested)
817
if (child == childRelations
[
j].ChildTable)
818
relation = childRelations
[
j];
1132
if (fKey[0].Table.DataSet.Relations
[
iExisting].RelationName != relName)
1151
relation = fKey[0].Table.DataSet.Relations
[
iExisting];
1478
if (!childRelations
[
j].Nested)
1481
if (_tableChild == childRelations
[
j].ChildTable)
1482
relation = childRelations
[
j];