1 write to RelationName
System.Data.Common (1)
System\Data\ProviderBase\SchemaMapping.cs (1)
1216
relation.
RelationName
= tmp;
29 references to RelationName
System.Data.Common (29)
System\Data\DataColumnCollection.cs (2)
496
throw ExceptionBuilder.CannotRemoveChildKey(_table.ParentRelations[i].
RelationName
);
507
throw ExceptionBuilder.CannotRemoveChildKey(_table.ChildRelations[i].
RelationName
);
System\Data\DataRelation.cs (3)
32
[DefaultProperty(nameof(
RelationName
))]
543
((ChildTable.NestedParentsCount > 0) && !(ChildTable.DataSet!.Relations.Contains(
RelationName
)))))
764
public override string ToString() =>
RelationName
;
System\Data\DataRelationCollection.cs (6)
342
int result = NamesEqual(relation.
RelationName
, name, false, GetDataSet().Locale);
405
if (NamesEqual(name, this[i].
RelationName
, true, locale) != 0)
407
throw ExceptionBuilder.DuplicateRelation(this[i].
RelationName
);
495
throw ExceptionBuilder.RelationNotInTheDataSet(relation.
RelationName
);
816
foreignKey.ConstraintName = relation.
RelationName
;
854
UnregisterName(relation.
RelationName
);
System\Data\DataRelationPropertyDescriptor.cs (1)
11
internal DataRelationPropertyDescriptor(DataRelation dataRelation) : base(dataRelation.
RelationName
, null)
System\Data\DataSet.cs (1)
567
list.Add(rel.
RelationName
);
System\Data\DataTable.cs (1)
6622
if (!DataSet.Relations.Contains(rel.
RelationName
))
System\Data\Merger.cs (6)
529
int iDest = _dataSet.Relations.InternalIndexOf(relation.
RelationName
);
539
SR.Format(SR.DataMerge_MissingDefinition, relation.
RelationName
),
550
SR.Format(SR.DataMerge_ReltionKeyColumnsMismatch, relation.
RelationName
),
560
SR.Format(SR.DataMerge_ReltionKeyColumnsMismatch, relation.
RelationName
),
587
destRelation = new DataRelation(relation.
RelationName
, parentColumns, childColumns, relation._createConstraints);
601
throw ExceptionBuilder.MergeMissingDefinition(relation.
RelationName
);
System\Data\RelationshipConverter.cs (2)
56
values = new object[] { rel.
RelationName
, rel.ParentKey.Table.TableName, rel.ChildKey.Table.TableName, rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested };
64
values = new object[] { rel.
RelationName
, rel.ParentKey.Table.TableName, rel.ParentKey.Table.Namespace, rel.ChildKey.Table.TableName,
System\Data\xmlsaver.cs (5)
1159
root.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(rel.
RelationName
));
1666
if (!rel.
RelationName
.StartsWith(rName, StringComparison.Ordinal))
1701
if (rel.
RelationName
!= fk.ConstraintName)
2163
if (foreign.ConstraintName != rel.
RelationName
)
2165
constraint.SetAttribute(Keywords.MSD_RELATIONNAME, Keywords.MSDNS, XmlConvert.EncodeLocalName(rel.
RelationName
));
System\Data\XMLSchema.cs (2)
445
if (string.Equals(rels[i].
RelationName
, strName, StringComparison.Ordinal))
1336
if (fKey[0].Table!.DataSet!.Relations[iExisting].
RelationName
!= relName)