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