63 references to CorrespondingAssociationEndMember
System.Data.Entity (47)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
161EntityType requiredSourceNavType = (EntityType)TypeHelpers.GetEdmType<RefType>(dependentSetEnd.CorrespondingAssociationEndMember.TypeUsage).ElementType;
System\Data\Common\Utils\MetadataHelper.cs (3)
261AssociationEndMember endMember = end.CorrespondingAssociationEndMember; 280EntityType fromType = GetEntityTypeForEnd(fromEnd.CorrespondingAssociationEndMember); 580return associationEnd.CorrespondingAssociationEndMember;
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
140Visit(associationSetEnd.CorrespondingAssociationEndMember);
System\Data\Mapping\StorageMappingItemLoader.cs (7)
537MetadataHelper.GetEntityTypeForEnd(MetadataHelper.GetOppositeEnd(actualEnd).CorrespondingAssociationEndMember).FullName), 1222AssociationEndMember currentEnd = parameterBinding.MemberPath.AssociationSetEnd.CorrespondingAssociationEndMember; 3956m_members.Push(toEnd.CorrespondingAssociationEndMember); 3975m_members.Push(end.CorrespondingAssociationEndMember); 4056if (toEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity != RelationshipMultiplicity.One && 4057toEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity != RelationshipMultiplicity.ZeroOrOne) 4076if (fromEnd.CorrespondingAssociationEndMember == constraint.ToRole &&
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (3)
76AddEnd(ref RequiredEnds, end.CorrespondingAssociationEndMember); 78else if (null == RequiredEnds || !RequiredEnds.Contains(end.CorrespondingAssociationEndMember)) 80AddEnd(ref OptionalEnds, end.CorrespondingAssociationEndMember);
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (3)
92on end.CorrespondingAssociationEndMember.DeclaringType equals candidateEntry.EntitySet.ElementType 93select Tuple.Create(end.CorrespondingAssociationEndMember, candidateEntry); 238AssociationEndMember endMember = parameterBinding.MemberPath.AssociationSetEnd.CorrespondingAssociationEndMember;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (11)
94if (object.ReferenceEquals(toEnd.CorrespondingAssociationEndMember, 95fromEnd.CorrespondingAssociationEndMember)) { continue; } 102fromEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity)) { continue; } 105if (!MetadataHelper.GetEntityTypeForEnd(toEnd.CorrespondingAssociationEndMember) 109DirectionalRelationship relationship = new DirectionalRelationship(entityKey, fromEnd.CorrespondingAssociationEndMember, 110toEnd.CorrespondingAssociationEndMember, associationSet, stateEntry); 160if (object.ReferenceEquals(toEnd.CorrespondingAssociationEndMember, fromEnd.CorrespondingAssociationEndMember)) 165EntityKey toEntityKey = endNameToKeyMap[toEnd.CorrespondingAssociationEndMember.Name]; 166DirectionalRelationship relationship = new DirectionalRelationship(toEntityKey, fromEnd.CorrespondingAssociationEndMember, 167toEnd.CorrespondingAssociationEndMember, associationSet, stateEntry);
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
296requiredEnds.Add(associationSet, oppositeEnd.CorrespondingAssociationEndMember);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (3)
64derivedTypes.UnionWith(MetadataHelper.GetTypeAndSubtypesOf(end.CorrespondingAssociationEndMember.TypeUsage.EdmType, edmItemCollection, false)); 77if (MetadataHelper.IsEveryOtherEndAtLeastOne(assocSet, end.CorrespondingAssociationEndMember)) 93end.CorrespondingAssociationEndMember,
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
341foreach (var association in associations.Where(association => association.AssociationSetEnds.Any(end => ( end.CorrespondingAssociationEndMember.RelationshipMultiplicity == RelationshipMultiplicity.One && 484AssociationEndMember assocEndMember = relationEnd.CorrespondingAssociationEndMember;
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
105AssociationEndMember endMember = end.CorrespondingAssociationEndMember;
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
583AssociationEndMember endMember = relationEnd.CorrespondingAssociationEndMember; 802List<int> endSlots = cell.CQuery.GetAssociationEndSlots(setEnd.CorrespondingAssociationEndMember);
System\Data\Metadata\Edm\AssociationSetEnd.cs (2)
86return CorrespondingAssociationEndMember.Name; 154AssociationEndMember endMember = CorrespondingAssociationEndMember;
System\Data\Objects\EntityEntry.cs (5)
3847if (setEnds[0].CorrespondingAssociationEndMember.Identity == dependentId) 3849dependentEnd = setEnds[0].CorrespondingAssociationEndMember; 3850principalEnd = setEnds[1].CorrespondingAssociationEndMember; 3854dependentEnd = setEnds[1].CorrespondingAssociationEndMember; 3855principalEnd = setEnds[0].CorrespondingAssociationEndMember;
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
684if (e.CorrespondingAssociationEndMember.EdmEquals(targetEnd))
System\Data\SqlClient\SqlProviderUtilities.cs (1)
219if (principalEnd.CorrespondingAssociationEndMember.DeleteBehavior == OperationAction.Cascade)
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (4)
121multiplicity = multiplicityAssociationSetEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity; 125OperationAction otherEndBehavior = GetAssociationSetEnd(definingSet, false).CorrespondingAssociationEndMember.DeleteBehavior; 131deleteBehavior = multiplicityAssociationSetEnd.CorrespondingAssociationEndMember.DeleteBehavior; 143if (set.AssociationSetEnds[0].CorrespondingAssociationEndMember == constraint.FromRole)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
854AssociationEndMember end = CreateAssociationEndMember(session, storeEnd.CorrespondingAssociationEndMember, usedEndMemberNames, multiplicity, deleteBehavior); 898AssociationEndMember associationEnd = session.MappingLookups.StoreAssociationEndMemberToModelAssociationEndMember[storeEnd.CorrespondingAssociationEndMember];
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1100if (end.CorrespondingAssociationEndMember == member)
System.Web.Entity (9)
System\Data\WebControls\EntityDataSourceColumn.cs (3)
207if (this.group.End.CorrespondingAssociationEndMember.RelationshipMultiplicity == RelationshipMultiplicity.ZeroOrOne) 266if (EntityDataSourceUtil.TryGetCorrespondingNavigationProperty(group.End.CorrespondingAssociationEndMember, out navigationProperty)) 323builder.Append(EntityDataSourceUtil.QuoteEntitySqlIdentifier(this.Group.End.CorrespondingAssociationEndMember.Name));
System\Data\WebControls\EntityDataSourceReferenceGroup.cs (1)
137this.End.CorrespondingAssociationEndMember.Name);
System\Data\WebControls\EntityDataSourceUtil.cs (5)
783AssociationEndMember endMember = end.CorrespondingAssociationEndMember; 834RelationshipMultiplicity fromMult = fromEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity; 835RelationshipMultiplicity toMult = toEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity; 859return GetEntityType(end.CorrespondingAssociationEndMember); 1011if (TryGetCorrespondingNavigationProperty(toEnd.CorrespondingAssociationEndMember, out navigationProperty))