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