1 write to RelationName
System.Data (1)
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1042
relation.
RelationName
= tmp;
38 references to RelationName
System.Data (38)
fx\src\data\System\Data\CodeGen\datacache.cs (10)
242
typedName +="By" + relation.
RelationName
;
265
typedName +="By" + FixIdName(relation.
RelationName
);
272
return FixIdName("relation" + relation.
RelationName
);
450
string argumentName = FixIdName("parent" + ParentTypedRowName + "By" + relation.
RelationName
);
475
string argumentName = FixIdName("parent" + ParentTypedRowName + "By" + relation.
RelationName
);
925
childArray.Statements.Add(Return(Cast(Type(rowConcreateClassName, 1), MethodCall(This(), "GetChildRows", Indexer(Property(Property(This(), "Table"), "ChildRelations"), Str(relation.
RelationName
))))));
944
anotherProp.GetStatements.Add(Return(Cast(ParentTypedRowName, MethodCall(This(), "GetParentRow", Indexer(Property(Property(This(), "Table"), "ParentRelations"), Str(relation.
RelationName
))))));
945
anotherProp.SetStatements.Add(MethodCall(This(), "SetParentRow", new CodeExpression[] {Value(), Indexer(Property(Property(This(), "Table"), "ParentRelations"), Str(relation.
RelationName
))}));
1339
New(typeof(DataRelation), new CodeExpression[] {Str(relation.
RelationName
), parentColCreate, childColCreate,Primitive(false)})
1350
initVarsMethod.Statements.Add(Assign(Field(This(), RelationFieldName(relation)), Indexer(Property(This(),"Relations"),Str(relation.
RelationName
))));
fx\src\data\System\Data\DataColumnCollection.cs (2)
453
throw ExceptionBuilder.CannotRemoveChildKey(table.ParentRelations[i].
RelationName
);
461
throw ExceptionBuilder.CannotRemoveChildKey(table.ChildRelations[i].
RelationName
);
fx\src\data\System\Data\DataRelation.cs (2)
526
((ChildTable.NestedParentsCount > 0) && ! (ChildTable.DataSet.Relations.Contains(this.
RelationName
))))) {
739
return
RelationName
;
fx\src\data\System\Data\DataRelationCollection.cs (6)
317
result = NamesEqual(relation.
RelationName
, name, false, GetDataSet().Locale);
376
if (NamesEqual(name, this[i].
RelationName
, true, locale) != 0) {
377
throw ExceptionBuilder.DuplicateRelation(this[i].
RelationName
);
461
throw ExceptionBuilder.RelationNotInTheDataSet(relation.
RelationName
);
727
foreignKey.ConstraintName = relation.
RelationName
;
763
UnregisterName(relation.
RelationName
);
fx\src\data\System\Data\DataRelationPropertyDescriptor.cs (1)
26
internal DataRelationPropertyDescriptor(DataRelation dataRelation) : base(dataRelation.
RelationName
, null) {
fx\src\data\System\Data\DataSet.cs (1)
464
list.Add(rel.
RelationName
);
fx\src\data\System\Data\DataTable.cs (1)
5835
if (!this.DataSet.Relations.Contains(rel.
RelationName
))
fx\src\data\System\Data\Merger.cs (6)
440
int iDest = dataSet.Relations.InternalIndexOf(relation.
RelationName
);
448
Res.GetString(Res.DataMerge_MissingDefinition, relation.
RelationName
),
458
Res.GetString(Res.DataMerge_ReltionKeyColumnsMismatch, relation.
RelationName
),
468
Res.GetString(Res.DataMerge_ReltionKeyColumnsMismatch, relation.
RelationName
),
505
destRelation = new DataRelation(relation.
RelationName
, parentColumns, childColumns, relation.createConstraints);
520
throw ExceptionBuilder.MergeMissingDefinition(relation.
RelationName
);
fx\src\data\System\Data\RelationshipConverter.cs (2)
58
values = new object[] { rel.
RelationName
, rel.ParentKey.Table.TableName, rel.ChildKey.Table.TableName,rel.ParentColumnNames, rel.ChildColumnNames, rel.Nested };
65
values = new object[] { rel.
RelationName
, rel.ParentKey.Table.TableName, rel.ParentKey.Table.Namespace, rel.ChildKey.Table.TableName,
fx\src\data\System\Data\xmlsaver.cs (5)
975
root.SetAttribute( Keywords.NAME, XmlConvert.EncodeLocalName( rel.
RelationName
));
1415
if (!rel.
RelationName
.StartsWith(rName, StringComparison.Ordinal))
1446
if (rel.
RelationName
!= fk.ConstraintName)
1862
if (foreign.ConstraintName != rel.
RelationName
) {
1863
constraint.SetAttribute( Keywords.MSD_RELATIONNAME , Keywords.MSDNS, XmlConvert.EncodeLocalName( rel.
RelationName
));
fx\src\data\System\Data\XMLSchema.cs (2)
385
if (0 == String.Compare(rels[i].
RelationName
, strName, StringComparison.Ordinal))
1132
if (fKey[0].Table.DataSet.Relations[iExisting].
RelationName
!= relName)