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