1 instantiation of AssociationSetEnd
System.Data.Entity (1)
System\Data\Metadata\Converter.cs (1)
674AssociationSetEnd associationSetEnd = new AssociationSetEnd(GetEntitySet(end.EntitySet, container),
121 references to AssociationSetEnd
System.Data.Entity (75)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
149var principalSetsAndDependentTypes = new HashSet<Tuple<EntityType, AssociationSetEnd, ReferentialConstraint>>(); 157var dependentSetEnd = relSet.AssociationSetEnds[fkConstraint.ToRole.Name]; 162var principalSetEnd = relSet.AssociationSetEnds[fkConstraint.FromRole.Name]; 280private static DbRelatedEntityRef RelatedEntityRefFromAssociationSetEnd(EntityType constructedEntityType, DbNewInstanceExpression entityConstructor, AssociationSetEnd principalSetEnd, ReferentialConstraint fkConstraint)
System\Data\Common\Utils\MetadataHelper.cs (7)
259foreach (AssociationSetEnd end in associationSet.AssociationSetEnds) 273internal static bool IsAssociationValidForEntityType(AssociationSetEnd toEnd, EntityType type) 279AssociationSetEnd fromEnd = GetOppositeEnd(toEnd); 286internal static AssociationSetEnd GetOppositeEnd(AssociationSetEnd end) 290AssociationSetEnd otherEnd = end.ParentAssociationSet.AssociationSetEnds.Where( 576foreach (AssociationSetEnd associationEnd in associationSet.AssociationSetEnds)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (2)
85foreach (var end in associationSet.AssociationSetEnds) 138protected virtual void Visit(AssociationSetEnd associationSetEnd)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
320protected override void Visit(AssociationSetEnd associationSetEnd)
System\Data\Mapping\StorageEntitySetMapping.cs (3)
46m_implicitlyMappedAssociationSetEnds = new List<AssociationSetEnd>(); 52private readonly List<AssociationSetEnd> m_implicitlyMappedAssociationSetEnds; 66internal IList<AssociationSetEnd> ImplicitlyMappedAssociationSetEnds {
System\Data\Mapping\StorageMappingItemLoader.cs (18)
467Set<AssociationSetEnd> expectedEnds = new Set<AssociationSetEnd>( 500Set<AssociationSetEnd> expectedEnds, string elementName) 505Set<AssociationSetEnd> actualEnds = new Set<AssociationSetEnd>(functionMapping.CollocatedAssociationSetEnds); 509foreach (AssociationSetEnd expectedEnd in expectedEnds) 530foreach (AssociationSetEnd actualEnd in actualEnds) 562foreach (AssociationSetEnd end in entitySetMapping.ImplicitlyMappedAssociationSetEnds) 652foreach (AssociationSetEnd end in entitySetMapping.ImplicitlyMappedAssociationSetEnds) 692foreach (AssociationSetEnd end in associationSet.AssociationSetEnds) 713foreach (AssociationSetEnd end in associationSet.AssociationSetEnds) 3951AssociationSetEnd toEnd = LoadAssociationEnd(nav.Clone()); 3970AssociationSetEnd end = LoadEndProperty(nav.Clone()); 3990private AssociationSetEnd LoadAssociationEnd(XPathNavigator nav) 4022AssociationSetEnd fromEnd = null; 4034AssociationSetEnd toEnd = null; 4090private AssociationSetEnd LoadEndProperty(XPathNavigator nav) 4097AssociationSetEnd end = null;
System\Data\Mapping\StorageModificationFunctionMapping.cs (6)
175internal readonly ReadOnlyCollection<AssociationSetEnd> CollocatedAssociationSetEnds; 192private static IEnumerable<AssociationSetEnd> GetReferencedAssociationSetEnds(EntitySet entitySet, EntityType entityType, IEnumerable<StorageModificationFunctionParameterBinding> parameterBindings) 194HashSet<AssociationSetEnd> ends = new HashSet<AssociationSetEnd>(); 199AssociationSetEnd end = parameterBinding.MemberPath.AssociationSetEnd; 320internal readonly AssociationSetEnd AssociationSetEnd;
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (1)
68foreach (var end in ends)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (5)
89foreach (var fromEnd in ends) 91foreach (var toEnd in ends) 155foreach (var fromEnd in ends) 157foreach (var toEnd in ends) 330foreach (var end in associationSet.AssociationSetEnds)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (2)
98AssociationSetEnd source = null; 99AssociationSetEnd target = null;
System\Data\Mapping\Update\Internal\ViewLoader.cs (2)
285foreach (AssociationSetEnd end in entitySetMapping.ImplicitlyMappedAssociationSetEnds) 295AssociationSetEnd oppositeEnd = MetadataHelper.GetOppositeEnd(end);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
60foreach (AssociationSetEnd end in assocSet.AssociationSetEnds)
System\Data\Mapping\ViewGeneration\QueryRewriting\RoleBoolean.cs (7)
29internal RoleBoolean(AssociationSetEnd end) 60AssociationSetEnd end = m_metadataItem as AssociationSetEnd; 74AssociationSetEnd end = m_metadataItem as AssociationSetEnd; 115AssociationSetEnd end = m_metadataItem as AssociationSetEnd;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
482foreach (AssociationSetEnd relationEnd in relationshipSet.AssociationSetEnds)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
195AssociationSetEnd setEnd = ((AssociationSet)RightExtent).AssociationSetEnds[ends.First().Name];
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
103foreach (AssociationSetEnd end in relationshipSet.AssociationSetEnds)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (3)
102foreach (AssociationSetEnd end in relationSet.AssociationSetEnds) 580foreach (AssociationSetEnd relationEnd in relationSet.AssociationSetEnds) 800foreach (AssociationSetEnd setEnd in set.AssociationSetEnds)
System\Data\Mapping\ViewValidator.cs (1)
320AssociationSetEnd setEnd = associationSet.AssociationSetEnds[i];
System\Data\Metadata\Converter.cs (1)
674AssociationSetEnd associationSetEnd = new AssociationSetEnd(GetEntitySet(end.EntitySet, container),
System\Data\Metadata\Edm\AssociationSet.cs (5)
35private readonly ReadOnlyMetadataCollection<AssociationSetEnd> _associationSetEnds = 36new ReadOnlyMetadataCollection<AssociationSetEnd>(new MetadataCollection<AssociationSetEnd>()); 55public ReadOnlyMetadataCollection<AssociationSetEnd> AssociationSetEnds 86internal void AddAssociationSetEnd(AssociationSetEnd associationSetEnd)
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
682foreach (AssociationSetEnd e in associationSet.AssociationSetEnds)
System\Data\SqlClient\SqlProviderUtilities.cs (2)
197var principalEnd = associationSet.AssociationSetEnds[constraint.FromRole.Name]; 198var dependentEnd = associationSet.AssociationSetEnds[constraint.ToRole.Name];
System.Data.Entity.Design (29)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
715foreach (AssociationSetEnd end in associationSet.AssociationSetEnds) 722private void WriteAssociationSetEndElement(AssociationSetEnd end)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (17)
31internal Dictionary<AssociationSetEnd, AssociationSetEnd> StoreAssociationSetEndToModelAssociationSetEnd = new Dictionary<AssociationSetEnd, AssociationSetEnd>(); 75public void GetStoreAssociationSetEnd(int index, out AssociationSetEnd storeAssociationSetEnd, out RelationshipMultiplicity multiplicity, out OperationAction deleteBehavior) 82private void GetFromAssociationSetEnd(AssociationSet definingSet, AssociationSet multiplicitySet, out AssociationSetEnd associationSetEnd, out RelationshipMultiplicity multiplicity, out OperationAction deleteBehavior) 120AssociationSetEnd multiplicityAssociationSetEnd = GetAssociationSetEnd(multiplicitySet, false); 136private static AssociationSetEnd GetAssociationSetEnd(AssociationSet set, bool fromEnd) 358AssociationSetEnd storeEnd; 362AssociationSetEnd modelEnd = _lookups.StoreAssociationSetEndToModelAssociationSetEnd[storeEnd]; 382AssociationSetEnd foreignKeyTableEnd = GetAssociationSetEndForForeignKeyTable(store); 385foreach (AssociationSetEnd storeEnd in store.AssociationSetEnds) 387AssociationSetEnd modelEnd = _lookups.StoreAssociationSetEndToModelAssociationSetEnd[storeEnd]; 412private static AssociationSetEnd GetAssociationSetEndForForeignKeyTable(AssociationSet store) 431private void WriteEndPropertyElement(XmlWriter writer, AssociationSetEnd store, AssociationSetEnd model) 444private static EdmProperty GetAssociatedFkColumn(AssociationSetEnd store, EdmProperty storeKeyProperty)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (9)
638foreach (AssociationSetEnd end in storeAssociationSet.AssociationSetEnds) 651foreach (AssociationSetEnd end in storeAssociationSet.AssociationSetEnds) 850AssociationSetEnd storeEnd; 858AssociationSetEnd setEnd = new AssociationSetEnd(entitySet, set, end); 886foreach(AssociationSetEnd storeEnd in storeAssociationSet.AssociationSetEnds) 888AssociationSetEnd end = CreateModelAssociationSetEnd(session, storeEnd, set); 896private AssociationSetEnd CreateModelAssociationSetEnd(LoadMethodSessionState session, AssociationSetEnd storeEnd, AssociationSet parentModelAssociationSet) 901AssociationSetEnd end = new AssociationSetEnd(entitySet, parentModelAssociationSet, associationEnd);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
465AssociationSetEnd setEnd = new AssociationSetEnd(entitySet, set, end);
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
132AssociationSetEnd setEnd = associationSet.AssociationSetEnds[sourceNavigationProperty.FromEndMember.Name]; 1098foreach (AssociationSetEnd end in associationSet.AssociationSetEnds) 2683foreach (AssociationSetEnd end in associationSet.AssociationSetEnds)
System.Web.Entity (14)
System\Data\WebControls\EntityDataSourceReferenceGroup.cs (5)
33private readonly AssociationSetEnd end; 35protected EntityDataSourceReferenceGroup(AssociationSetEnd end) 42internal AssociationSetEnd End { get { return this.end; } } 45internal static EntityDataSourceReferenceGroup Create(Type entityType, AssociationSetEnd end) 61public EntityDataSourceReferenceGroup(AssociationSetEnd end)
System\Data\WebControls\EntityDataSourceUtil.cs (9)
754internal static IEnumerable<AssociationSetEnd> GetReferenceEnds(EntitySet entitySet, EntityType entityType, bool forKey) 759AssociationSetEnd firstEnd = associationSet.AssociationSetEnds[0]; 760AssociationSetEnd secondEnd = associationSet.AssociationSetEnds[1]; 779private static bool IsContained(AssociationSetEnd end, out ReferentialConstraint constraint) 828private static bool IsReferenceEnd(EntitySet entitySet, EntityType entityType, AssociationSetEnd fromEnd, AssociationSetEnd toEnd, bool forKey) 857internal static EntityType GetEntityType(AssociationSetEnd end) 1007foreach (AssociationSetEnd toEnd in GetReferenceEnds(entitySet, entityType, /*forKey*/false)) 1022foreach (AssociationSetEnd toEnd in GetReferenceEnds(entitySet, entityType, /*forKey*/true))