74 references to EntitySet
System.Data.Entity (58)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
129
assocSet.AssociationSetEnds.Any(se => se.
EntitySet
== targetSet)
159
if (dependentSetEnd.
EntitySet
== targetSet)
322
DbRefExpression principalRef = principalSetEnd.
EntitySet
.CreateRef(principalEntityType, principalKeyValues);
System\Data\Common\Internal\Materialization\Shaper.cs (2)
471
if (((AssociationSet)entitySetBase).AssociationSetEnds[sourceEndName].
EntitySet
== entitySet)
710
Debug.Assert(associationSet.AssociationSetEnds[sourceMember.Name].
EntitySet
== sourceEntitySet);
System\Data\Common\Utils\MetadataHelper.cs (3)
236
return associationSet.AssociationSetEnds[endMember.Name].
EntitySet
;
578
if (associationEnd.
EntitySet
.Equals(entitySet))
631
EntitySet es = assocSet.AssociationSetEnds[endName].
EntitySet
;
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
141
Visit(associationSetEnd.
EntitySet
);
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
294
associationSetMappings = associationSetMappings.Where(associationSetMap => ((associationSetMap.Set as AssociationSet).AssociationSetEnds.Any(associationSetEnd => associationSetEnd.
EntitySet
== edmEntitySet)));
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
292
EntitySet dependentSet = aSet.AssociationSetEnds[rc.ToRole.Name].
EntitySet
;
293
EntitySet principalSet = aSet.AssociationSetEnds[rc.FromRole.Name].
EntitySet
;
System\Data\Mapping\StorageMappingItemLoader.cs (6)
694
if (!additionalSetsInClosure.Contains(end.
EntitySet
))
696
newNodes.Add(end.
EntitySet
);
715
if (additionalSetsInClosure.Contains(end.
EntitySet
))
3959
LoadParameterBindings(nav.Clone(), toEnd.
EntitySet
.ElementType, true /* restrictToKeyMembers */))
3977
LoadParameterBindings(nav.Clone(), end.
EntitySet
.ElementType, true /* restrictToKeyMembers */))
4046
if (!fromEnd.
EntitySet
.Equals(m_entitySet))
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
215
if ((assocationSet.AssociationSetEnds[constraint.ToRole.Name].
EntitySet
== entitySet) &&
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (1)
72
if (end.
EntitySet
.EdmEquals(influencingExtent))
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (2)
98
if (!toEnd.
EntitySet
.EdmEquals(entitySet)) { continue; }
332
if (end.
EntitySet
.Equals(entitySet))
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (4)
122
if (tables.Contains(target.
EntitySet
)&&
123
tables.Contains(source.
EntitySet
))
126
sourceMap.Add(source.
EntitySet
, fkConstraint);
127
targetMap.Add(target.
EntitySet
, fkConstraint);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
260
EntitySet principalSet = associationSet.AssociationSetEnds[constraint.FromRole.Name].
EntitySet
;
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
456
yield return pkFkInfo.Item1.AssociationSetEnds.Where(ase => ase.Name == pkFkInfo.Item2.ToRole.Name).Single().
EntitySet
;
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (2)
66
BoolExpression typeCondition = CreateIsOfTypeCondition(new MemberPath(end.
EntitySet
),
71
BoolExpression.CreateLiteral(new RoleBoolean(end.
EntitySet
), domainMap),
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
342
(MetadataHelper.GetOppositeEnd(end).
EntitySet
.EdmEquals(rightExtent))))))
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
108
List<ExtentKey> keys = ExtentKey.GetKeysForEntityType(prefix, end.
EntitySet
.ElementType);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
104
endToExtents.Add(end.Name, end.
EntitySet
);
588
ExtentKey primaryKey = ExtentKey.GetPrimaryKeyForEntityType(prefix, relationEnd.
EntitySet
.ElementType);
System\Data\Mapping\ViewValidator.cs (1)
321
EntitySet declaredSet = setEnd.
EntitySet
;
System\Data\Metadata\Edm\AssociationSetEnd.cs (1)
160
EntitySet entitySet =
EntitySet
;
System\Data\Objects\DataClasses\EntityCollection.cs (1)
198
singleEntitySet = ((AssociationSet)this.RelationshipSet).AssociationSetEnds[this.ToEndMember.Name].
EntitySet
;
System\Data\Objects\DataClasses\EntityReference.cs (4)
477
EntitySet principalEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[ToEndMember.Name].
EntitySet
;
480
EntitySet dependentEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[FromEndProperty.Name].
EntitySet
;
578
EntitySet dependentEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[FromEndProperty.Name].
EntitySet
;
660
EntitySet dependentEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[FromEndProperty.Name].
EntitySet
;
System\Data\Objects\DataClasses\RelatedEnd.cs (8)
393
EntitySet ownerEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_fromEndProperty.Name].
EntitySet
;
394
EntitySet targetEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_toEndProperty.Name].
EntitySet
;
777
EntitySet targetEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[TargetRoleName].
EntitySet
;
1107
(((AssociationSet)_relationshipSet).AssociationSetEnds[_navigation.To].
EntitySet
!= set))
2141
entitySet = associationSet.AssociationSetEnds[associationEndMember.Name].
EntitySet
;
2350
associationset.AssociationSetEnds[_navigation.From].
EntitySet
!= entitySet &&
2351
associationset.AssociationSetEnds[_navigation.From].
EntitySet
.ElementType == entitySet.ElementType)
2435
if (((AssociationSet)entitySetBase).AssociationSetEnds[_navigation.From].
EntitySet
== entitySet)
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
848
Debug.Assert(association.AssociationSetEnds[sourceEndName].
EntitySet
== entitySet, "AssociationSetEnd does have the matching EntitySet");
System\Data\Objects\ObjectStateManager.cs (2)
3306
EntitySet entitySet = associationSet.AssociationSetEnds[0].
EntitySet
;
3313
return associationSet.AssociationSetEnds[1].
EntitySet
;
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
686
entitySet = e.
EntitySet
;
1555
rs.AssociationSetEnds[relProperty.FromEnd.Identity].
EntitySet
.EdmEquals(entitySet))
System\Data\SqlClient\SqlProviderUtilities.cs (4)
201
if (ignoredEntitySets.Contains(principalEnd.
EntitySet
) || ignoredEntitySets.Contains(dependentEnd.
EntitySet
))
209
AppendIdentifier(dependentEnd.
EntitySet
);
215
AppendIdentifier(principalEnd.
EntitySet
);
System.Data.Entity.Design (9)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
726
_writer.WriteAttributeString(XmlConstants.EntitySet, end.
EntitySet
.Name);
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (2)
383
writer.WriteAttributeString(StorageMslConstructs.AssociationSetMappingStoreEntitySetAttribute, foreignKeyTableEnd.
EntitySet
.Name);
435
foreach (EdmProperty storeKeyMember in store.
EntitySet
.ElementType.KeyMembers)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (6)
614
EntitySet end0Set = set.AssociationSetEnds[0].
EntitySet
;
615
EntitySet end1Set = set.AssociationSetEnds[1].
EntitySet
;
640
if (session.CandidateCollapsedAssociations.ContainsKey(end.
EntitySet
))
654
if (session.CandidateCollapsedAssociations.TryGetValue(end.
EntitySet
, out collapsed))
857
EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.
EntitySet
];
899
EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.
EntitySet
];
System.Data.Services (5)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
133
if (setEnd.
EntitySet
== sourceEntitySet)
142
EntitySet targetEntitySet = setEnd.
EntitySet
;
1102
yield return end.
EntitySet
;
1772
xmlWriter.WriteAttributeString(XmlConstants.EntitySet, associationSet.AssociationSetEnds[i].
EntitySet
.Name);
2685
string lookupName = end.
EntitySet
.Name;
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceReferenceGroup.cs (1)
121
reference.EntityKey = new EntityKey(EntityDataSourceUtil.GetQualifiedEntitySetName(End.
EntitySet
), (IEnumerable<KeyValuePair<string, object>>)newKeyValues);
System\Data\WebControls\EntityDataSourceUtil.cs (1)
832
if (fromEnd.
EntitySet
== entitySet && (IsStrictSubtypeOf(entityType, fromType) || entityType == fromType))