1 instantiation of EntitySet
System.Data.Entity (1)
System\Data\Metadata\Converter.cs (1)
613EntitySet entitySet = new EntitySet(set.Name, set.DbSchema, set.Table, set.DefiningQuery,
560 references to EntitySet
System.Data.Entity (446)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
772EntitySet newSet = (EntitySet)this.VisitEntitySet(expression.EntitySet);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (8)
1146public static DbRefExpression CreateRef(this EntitySet entitySet, IEnumerable<DbExpression> keyValues) 1162public static DbRefExpression CreateRef(this EntitySet entitySet, params DbExpression[] keyValues) 1180public static DbRefExpression CreateRef(this EntitySet entitySet, EntityType entityType, IEnumerable<DbExpression> keyValues) 1198public static DbRefExpression CreateRef(this EntitySet entitySet, EntityType entityType, params DbExpression[] keyValues) 1203private static DbRefExpression CreateRefExpression(EntitySet entitySet, IEnumerable<DbExpression> keyValues) 1210private static DbRefExpression CreateRefExpression(EntitySet entitySet, EntityType entityType, IEnumerable<DbExpression> keyValues) 1231public static DbRefExpression RefFromKey(this EntitySet entitySet, DbExpression keyRow) 1253public static DbRefExpression RefFromKey(this EntitySet entitySet, DbExpression keyRow, EntityType entityType)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (4)
1121internal static TypeUsage ValidateCreateRef(EntitySet entitySet, IEnumerable<DbExpression> keyValues, out DbExpression keyConstructor) 1127internal static TypeUsage ValidateCreateRef(EntitySet entitySet, EntityType entityType, IEnumerable<DbExpression> keyValues, out DbExpression keyConstructor) 1160internal static TypeUsage ValidateRefFromKey(EntitySet entitySet, DbExpression keyValues) 1166internal static TypeUsage ValidateRefFromKey(EntitySet entitySet, DbExpression keyValues, EntityType entityType)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (2)
122EntitySet targetSet = (EntitySet)this.extent;
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
693private readonly EntitySet _entitySet; 695internal DbRefExpression(TypeUsage refResultType, EntitySet entitySet, DbExpression refKeys) 706public EntitySet EntitySet { get { return _entitySet; } }
System\Data\Common\EntityRecordInfo.cs (4)
22private readonly EntitySet _entitySet; 30public EntityRecordInfo(EntityType metadata, IEnumerable<EdmMember> memberInfo, EntityKey entityKey, EntitySet entitySet) 45internal EntityRecordInfo(EntityType metadata, EntityKey entityKey, EntitySet entitySet) 68internal EntityRecordInfo(DataRecordInfo info, EntityKey entityKey, EntitySet entitySet)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
1868EntitySet entitySet = entitySetExpr.Target as EntitySet;
System\Data\Common\EntityUtil.cs (2)
1508internal static void ValidateEntitySetInKey(EntityKey key, EntitySet entitySet) 1512internal static void ValidateEntitySetInKey(EntityKey key, EntitySet entitySet, string argument)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (2)
175foreach (EntitySet entitySet in discriminated.EntitySetMap) 184private void Append(string prefix, EntitySet entitySet)
System\Data\Common\Internal\Materialization\RecordState.cs (1)
276internal bool SetEntityRecordInfo(EntityKey entityKey, EntitySet entitySet)
System\Data\Common\Internal\Materialization\Shaper.cs (7)
137public IEntityWrapper HandleEntity<TEntity>(IEntityWrapper wrappedEntity, EntityKey entityKey, EntitySet entitySet) 181public IEntityWrapper HandleEntityAppendOnly<TEntity>(Func<Shaper, IEntityWrapper> constructEntityDelegate, EntityKey entityKey, EntitySet entitySet) 296EntitySet targetEntitySet; 453var entitySet = wrappedEntity.EntityKey.GetEntitySet(this.Workspace); 528public IEntityWrapper HandleIEntityWithKey<TEntity>(IEntityWrapper wrappedEntity, EntitySet entitySet) 547public bool SetEntityRecordInfo(int recordStateSlotNumber, EntityKey entityKey, EntitySet entitySet) 704EntitySet sourceEntitySet;
System\Data\Common\Internal\Materialization\Translator.cs (11)
551private static readonly ConstructorInfo EntityKey_ctor_SingleKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object) }, null); 552private static readonly ConstructorInfo EntityKey_ctor_CompositeKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object[]) }, null); 769new Type[] { actualType, typeof(EntityKey), typeof(EntitySet), typeof(ObjectContext), typeof(MergeOption), typeof(Type) }, null); 795new Type[] { actualType, typeof(EntityKey), typeof(EntitySet), typeof(ObjectContext), typeof(MergeOption), typeof(Type), 919entitySetReader = Expression.Constant(null, typeof(EntitySet)); 923entitySetReader = Expression.Constant(simpleEntityIdentity.EntitySet, typeof(EntitySet)); 933EntitySet[] entitySets = discriminatedEntityIdentity.EntitySetMap; 939entitySetReader = Expression.Constant(null, typeof(EntitySet)); 944Expression.Constant(entitySets[i], typeof(EntitySet)), 953entitySetReader = Emit_Shaper_GetState(entitySetStateSlotNumber, typeof(EntitySet)); 990Expression.Equal(setEntitySetStateSlotValue, Expression.Constant(null, typeof(EntitySet))),
System\Data\Common\Utils\MetadataHelper.cs (9)
233internal static EntitySet GetEntitySetAtEnd(AssociationSet associationSet, 326internal static IEnumerable<EntitySet> GetInfluencingEntitySetsForTable(EntitySet table, MetadataWorkspace workspace) 344.Cast<EntitySet>() 567return GetSomeEndForEntitySet(relationshipSet, (EntitySet)extent) != null; 591internal static List<AssociationSet> GetAssociationsForEntitySets(EntitySet entitySet1, EntitySet entitySet2) 618AssociationType associationType, string endName, out EntitySet entitySet) 631EntitySet es = assocSet.AssociationSetEnds[endName].EntitySet;
System\Data\EntityClient\EntityCommandDefinition.cs (7)
51private readonly Set<EntitySet> _entitySets; 119EntitySet firstResultEntitySet = mapping.FunctionImport.EntitySets.FirstOrDefault(); 122_entitySets = new Set<EntitySet>(); 174EntitySet entitySet = functionImport.EntitySets.Count > resultSetIndex ? functionImport.EntitySets[resultSetIndex] : null; 316internal Set<EntitySet> EntitySets { 599private readonly EntitySet _entitySet; 603internal FunctionColumnMapGenerator(FunctionImportMappingNonComposable mapping, int resultSetIndex, EntitySet entitySet, StructuralType baseStructuralType)
System\Data\EntityKey.cs (6)
157internal EntityKey(EntitySet entitySet, IExtendedDataRecord record) 373public EntitySet GetEntitySet(MetadataWorkspace metadataWorkspace) 706internal KeyValuePair<string, DbExpression>[] GetKeyValueExpressions(EntitySet entitySet) 936private static void GetKeyValues(EntitySet entitySet, IExtendedDataRecord record, 987internal void ValidateEntityKey(MetadataWorkspace workspace, EntitySet entitySet) 1001internal void ValidateEntityKey(MetadataWorkspace workspace, EntitySet entitySet, bool isArgumentException, string argumentName)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (3)
47Visit((EntitySet)entitySetBase); 75protected virtual void Visit(EntitySet entitySet) 259foreach (var entitySet in edmFunction.EntitySets)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
248protected override void Visit(EntitySet entitySet)
System\Data\Mapping\StorageEntitySetMapping.cs (1)
43internal StorageEntitySetMapping(EntitySet extent, StorageEntityContainerMapping entityContainerMapping)
System\Data\Mapping\StorageMappingFragment.cs (3)
68internal StorageMappingFragment(EntitySet tableExtent, StorageTypeMapping typeMapping, bool distinctFlag) { 81EntitySet m_tableExtent; 109internal EntitySet TableSet {
System\Data\Mapping\StorageMappingItemCollection.cs (2)
635var entitySet = entitySetBase as EntitySet;
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 (11)
629KeyToListMap<EntitySet, StorageSetMapping> setMappingPerTable = 630new KeyToListMap<EntitySet, StorageSetMapping>(EqualityComparer<EntitySet>.Default); 659foreach (var table in setMappingPerTable.Keys) 799EntitySet entitySet; 825entitySet = (EntitySet)setMapping.Set; 1846EntitySet entitySet = functionImport.EntitySets.Count > resultSetIndex ? 2650EntitySet tableMember; 2745EntitySet tableMember; 3713private readonly EntitySet m_entitySet; 3754m_entitySet = extent as EntitySet;
System\Data\Mapping\StorageModificationFunctionMapping.cs (2)
152this.CollocatedAssociationSetEnds = GetReferencedAssociationSetEnds(entitySet as EntitySet, entityType as EntityType, parameterBindings) 192private static IEnumerable<AssociationSetEnd> GetReferencedAssociationSetEnds(EntitySet entitySet, EntityType entityType, IEnumerable<StorageModificationFunctionParameterBinding> parameterBindings)
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (3)
51internal AssociationSetMetadata(Set<EntitySet> affectedTables, AssociationSet associationSet, MetadataWorkspace workspace) 61foreach (EntitySet table in affectedTables) 66foreach (EntitySet influencingExtent in influencingExtents)
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
247internal override EntitySet Table { get { return this.m_processor.Table; } }
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
64foreignKeyMembers = new Set<EdmMember>(((EntitySet)entitySetBase).ForeignKeyDependents
System\Data\Mapping\Update\Internal\Propagator.cs (3)
52private Propagator(UpdateTranslator parent, EntitySet table) 65private readonly EntitySet m_table; 96static internal ChangeNode Propagate(UpdateTranslator parent, EntitySet table, DbQueryCommandTree umView)
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (3)
124EntitySet entitySet = extent as EntitySet; 139private PropagatorResult CreateEntitySetPlaceholder(EntitySet entitySet)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (6)
36m_referencingRelationshipSets = new Dictionary<EntitySet, List<AssociationSet>>(EqualityComparer<EntitySet>.Default); 55private readonly Dictionary<EntitySet, List<AssociationSet>> m_referencingRelationshipSets; 79EntitySet entitySet = (EntitySet)stateEntry.EntitySet; 313private IEnumerable<AssociationSet> GetReferencingAssocationSets(EntitySet entitySet)
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (3)
24private SourceInterpreter(UpdateTranslator translator, EntitySet sourceTable) 33private readonly EntitySet m_sourceTable; 43EntitySet sourceTable)
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (4)
38internal TableChangeProcessor(EntitySet table) 50private readonly EntitySet m_table; 58internal EntitySet Table 83private static int[] InitializeKeyOrdinals(EntitySet table)
System\Data\Mapping\Update\Internal\UpdateCommand.cs (1)
63internal virtual EntitySet Table
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (3)
53HashSet<EntitySet> tables = new HashSet<EntitySet>(); 83private static void InitializeForeignKeyMaps(HashSet<EntityContainer> containers, HashSet<EntitySet> tables, out KeyToListMap<EntitySetBase, ReferentialConstraint> sourceMap, out KeyToListMap<EntitySetBase, ReferentialConstraint> targetMap)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (8)
224EntitySet entitySet = (EntitySet)stateEntry.EntitySet; 260EntitySet principalSet = associationSet.AssociationSetEnds[constraint.FromRole.Name].EntitySet; 640Set<EntitySet> tables = new Set<EntitySet>(); 644Set<EntitySet> affectedTables = m_viewLoader.GetAffectedTables(extent, m_metadataWorkspace); 654foreach (EntitySet table in affectedTables) 661foreach (EntitySet table in tables)
System\Data\Mapping\Update\Internal\ViewLoader.cs (5)
43private readonly Dictionary<EntitySetBase, Set<EntitySet>> m_affectedTables = new Dictionary<EntitySetBase, Set<EntitySet>>(); 70internal Set<EntitySet> GetAffectedTables(EntitySetBase extent, MetadataWorkspace workspace) 174Set<EntitySet> affectedTables = new Set<EntitySet>();
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (24)
307var extentMap = new KeyToListMap<EntitySet, LeafCellTreeNode>(EqualityComparer<EntitySet>.Default); 317extentMap.Add((EntitySet)extent, leaf); 361var pkFkMap = new KeyToListMap<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default); 364var extentLOJs = new Dictionary<EntitySet, OpCellTreeNode>(EqualityComparer<EntitySet>.Default); 367var principalExtent = extentInfo.Key; 368foreach (var fkExtent in GetFKOverPKDependents(principalExtent)) 401var nestedExtents = new Dictionary<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default); 404var principalExtent = m.Key; 405foreach (var fkExtent in m.Value) 441private static IEnumerable<EntitySet> GetFKOverPKDependents(EntitySet principal) 462private static EntitySet GetLeafNodeTable(LeafCellTreeNode leaf) 464return leaf.LeftCellWrapper.RightCellQuery.Extent as EntitySet; 467private static bool CheckLOJCycle(EntitySet child, EntitySet parent, Dictionary<EntitySet, EntitySet> nestedExtents) 471if (EqualityComparer<EntitySet>.Default.Equals(parent, child))
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (1)
414EntitySet entitySet = MetadataHelper.GetEntitySetAtEnd((AssociationSet)caseMemberPath.Extent,
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (3)
57internal readonly EntitySet EntitySet; 63EntitySet entitySet) 75internal static bool TryCreateDiscriminatorMap(EntitySet entitySet, DbExpression queryView, out DiscriminatorMap discriminatorMap)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (2)
54if (DiscriminatorMap.TryCreateDiscriminatorMap((EntitySet)extent, commandTree.Query, out discriminatorMap)) 266if (DiscriminatorMap.TryCreateDiscriminatorMap((EntitySet)extent, commandTree.Query, out discriminatorMap))
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (3)
107EntitySet toEntitySet = MetadataHelper.GetEntitySetAtEnd(assocSet, toEndMember); 136EntitySet toEntitySet = MetadataHelper.GetEntitySetAtEnd(assocSet, toEndMember); 137EntitySet fromEntitySet = MetadataHelper.GetEntitySetAtEnd(assocSet, fromEndMember);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (6)
330if(Extent is EntitySet) 337EntitySet rightExtent = rightCellQuery.Extent as EntitySet; 340List<AssociationSet> associations = MetadataHelper.GetAssociationsForEntitySet(rightCellQuery.Extent as EntitySet); 465if (Extent is EntitySet) 503if (Extent is EntitySet)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (2)
261EntitySet storeEntitySet = (EntitySet)(colocatedAssociationSetMap.StoreEntitySet);
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (13)
183internal EntitySet EntitySet 189return m_extent as EntitySet; 196EntitySet result = MetadataHelper.GetEntitySetAtEnd((AssociationSet)m_extent, endMember); 630EntitySet entitySet0 = path0.Extent as EntitySet; 631EntitySet entitySet1 = path1.Extent as EntitySet; 667EntitySet entitySet = entitySet0 != null ? entitySet0 : entitySet1; 672MemberPath entityPath = path0.Extent is EntitySet ? path0 : path1; 752Debug.Assert(this.Extent is EntitySet, "path must be in the context of an entity set"); 755AssociationEndMember end = MetadataHelper.GetSomeEndForEntitySet(assocSet, (EntitySet)m_extent); 774internal EntitySet GetScopeOfRelationEnd() 789EntitySet result = MetadataHelper.GetEntitySetAtEnd(associationSet, relationEndMember);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (1)
146EntitySet entitySet = prefix.EntitySet;
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (2)
179private void AsCql(Action<EntitySet, IList<MemberPath>> createRef, Action<IList<MemberPath>> createType, MemberPath outputMember) 181EntitySet refScopeEntitySet = outputMember.GetScopeOfRelationEnd();
System\Data\Mapping\ViewGeneration\Structures\WithStatement.cs (1)
51private readonly EntitySet m_toEndEntitySet;
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (2)
60Debug.Assert(m_cellQuery.Extent is EntitySet || m_cellQuery.Extent is AssociationSet, 62if (m_cellQuery.Extent is EntitySet)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (18)
33internal ForeignConstraint(AssociationSet i_fkeySet, EntitySet i_parentTable, EntitySet i_childTable, 58private EntitySet m_parentTable; 59private EntitySet m_childTable; 65internal EntitySet ParentTable 70internal EntitySet ChildTable 100Dictionary<string, EntitySet> endToExtents = new Dictionary<string, EntitySet>(); 118EntitySet parentExtent = endToExtents[constraint.FromRole.Name]; 119EntitySet childExtent = endToExtents[constraint.ToRole.Name]; 309EntitySet parentSet = MetadataHelper.GetEntitySetAtEnd(assocSet, parentEnd); 427private bool CheckConstraintWhenOnlyParentMapped(Cell cell, EntitySet parentSet, AssociationSet assocSet, AssociationEndMember endMember, 499EntitySet endSet = MetadataHelper.GetEntitySetAtEnd(relationSet, parentEnd); 504EntitySet entitySet = FindEntitySetForColumnsMappedToEntityKeys(cells, ParentColumns); 530private static EntitySet FindEntitySetForColumnsMappedToEntityKeys(IEnumerable<Cell> cells, IEnumerable<MemberPath> tableColumns) 548EntitySet entitySet = cQuery.Extent as EntitySet; 572if (cell.CQuery.Extent is EntitySet)
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
113if (cSet is EntitySet) 162if (cSet is EntitySet)
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
135var entityTypes = m_cellWrappers.Select(it => it.RightExtent).OfType<EntitySet>().Select(it => it.ElementType);
System\Data\Mapping\ViewValidator.cs (4)
321EntitySet declaredSet = setEnd.EntitySet; 594private EntitySet m_entitySet; 596internal EntitySet EntitySet 601internal DbExpressionSimpleTypeEntitySetInfo(EntitySet entitySet)
System\Data\Metadata\Converter.cs (5)
607private static EntitySet ConvertToEntitySet(Som.EntityContainerEntitySet set, 613EntitySet entitySet = new EntitySet(set.Name, set.DbSchema, set.Table, set.DefiningQuery, 635private static EntitySet GetEntitySet(Som.EntityContainerEntitySet set, EntityContainer container) 933EntitySet[] entitySets = null; 946entitySets = new EntitySet[] { GetEntitySet(somFunctionImport.EntitySet, entityContainer) };
System\Data\Metadata\Edm\AssociationSetEnd.cs (4)
30internal AssociationSetEnd(EntitySet entitySet, AssociationSet parentSet, AssociationEndMember endMember) 39private readonly EntitySet _entitySet; 109public EntitySet EntitySet 160EntitySet entitySet = EntitySet;
System\Data\Metadata\Edm\EdmFunction.cs (7)
63_entitySets = new ReadOnlyMetadataCollection<EntitySet>(payload.EntitySets); 67var list = new List<EntitySet>(); 73_entitySets = new ReadOnlyMetadataCollection<EntitySet>(list); 112private readonly ReadOnlyMetadataCollection<EntitySet> _entitySets; 160internal EntitySet EntitySet 174internal ReadOnlyMetadataCollection<EntitySet> EntitySets 439public EntitySet[] EntitySets;
System\Data\Metadata\Edm\EntityContainer.cs (5)
122public EntitySet GetEntitySetByName(string name, bool ignoreCase) 124EntitySet entitySet = (BaseEntitySets.GetValue(name, ignoreCase) as EntitySet); 140public bool TryGetEntitySetByName(string name, bool ignoreCase, out EntitySet entitySet) 149entitySet = (EntitySet)baseEntitySet;
System\Data\Objects\DataClasses\EntityCollection.cs (1)
193EntitySet singleEntitySet = null;
System\Data\Objects\DataClasses\EntityReference.cs (5)
199EntitySet targetEntitySet = value.GetEntitySet(ObjectContext.MetadataWorkspace); 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\EntityReference_TResultType.cs (1)
358EntitySet targetEntitySet = DetachedEntityKey.GetEntitySet(this.ObjectContext.MetadataWorkspace);
System\Data\Objects\DataClasses\RelatedEnd.cs (13)
393EntitySet ownerEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_fromEndProperty.Name].EntitySet; 394EntitySet targetEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_toEndProperty.Name].EntitySet; 637private static void AppendEntitySet(StringBuilder sourceBuilder, EntitySet targetEntitySet, EntityType targetEntityType, bool ofTypeRequired) 777EntitySet targetEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[TargetRoleName].EntitySet; 1100internal void CheckRelationEntitySet(EntitySet set) 1890EntitySet principalEntitySet = GetTargetEntitySetFromRelationshipSet(); 2109EntitySet es = GetTargetEntitySetFromRelationshipSet(); 2132internal EntitySet GetTargetEntitySetFromRelationshipSet() 2134EntitySet entitySet = null; 2301EntitySet entitySet = ownerKey.GetEntitySet(context.MetadataWorkspace); 2311internal void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) 2397EntitySet targetEntitySet = detachedKey.GetEntitySet(context.MetadataWorkspace); 2418internal void FindRelationshipSet(ObjectContext context, EntitySet entitySet, out EdmType relationshipType, out RelationshipSet relationshipSet)
System\Data\Objects\DataClasses\RelationshipManager.cs (6)
738private IEnumerable<AssociationEndMember> GetAllTargetEnds(EntityType ownerEntityType, EntitySet ownerEntitySet) 828EntitySet entitySet; 995EntitySet entitySet = wrappedOwner.Context.GetEntitySet(wrappedOwner.EntityKey.EntitySetName, wrappedOwner.EntityKey.EntityContainerName); 1445EntitySet entitySet = ownerKey.GetEntitySet(wrappedOwner.Context.MetadataWorkspace); 1500internal void AttachContextToRelatedEnds(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) 1537internal void ResetContextOnRelatedEnds(ObjectContext context, EntitySet entitySet, MergeOption mergeOption)
System\Data\Objects\EntityEntry.cs (12)
59internal EntityEntry(IEntityWrapper wrappedEntity, EntityKey entityKey, EntitySet entitySet, ObjectStateManager cache, 101internal EntityEntry(EntityKey entityKey, EntitySet entitySet, ObjectStateManager cache, StateManagerTypeMetadata typeMetadata) 158foreach (var foreignKey in ((EntitySet)EntitySet).ForeignKeyDependents) 175foreach (var foreignKey in ((EntitySet)EntitySet).ForeignKeyPrincipals) 890return new EntityRecordInfo(metadata.DataRecordInfo, _entityKey, (EntitySet)EntitySet); 1587tmpTypeMetadata = _cache.GetOrAddStateManagerTypeMetadata(complexObject.GetType(), (EntitySet)this.EntitySet); 2092Debug.Assert(EntitySet is EntitySet, "Expect entity entries to have true entity sets."); 2093if (!((EntitySet)EntitySet).HasForeignKeyRelationships) 3472existingPrincipalKey = new EntityKey((EntitySet)existingPrincipalEntry.EntitySet, (IExtendedDataRecord)existingPrincipalEntry.CurrentValues); 3691EntitySet entitySet = EntitySet as EntitySet; 3858EntitySet principalEntitySet = MetadataHelper.GetEntitySetAtEnd(associationSet, principalEnd);
System\Data\Objects\Internal\BaseEntityWrapper.cs (3)
69protected BaseEntityWrapper(TEntity entity, RelationshipManager relationshipManager, EntitySet entitySet, ObjectContext context, MergeOption mergeOption, Type identityType) 147public void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) 159public void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption)
System\Data\Objects\Internal\EntityWrapper.cs (3)
41internal EntityWrapperWithoutRelationships(TEntity entity, EntityKey key, EntitySet entitySet, ObjectContext context, MergeOption mergeOption, Type identityType, 102internal EntityWrapperWithRelationships(TEntity entity, EntityKey key, EntitySet entitySet, ObjectContext context, MergeOption mergeOption, Type identityType, 194protected EntityWrapper(TEntity entity, RelationshipManager relationshipManager, EntityKey key, EntitySet set, ObjectContext context, MergeOption mergeOption, Type identityType,
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
297internal static void UpdateNoTrackingWrapper(IEntityWrapper wrapper, ObjectContext context, EntitySet entitySet)
System\Data\Objects\Internal\ForeignKeyFactory.cs (1)
94public static EntityKey CreateKeyFromForeignKeyValues(EntityEntry dependentEntry, ReferentialConstraint constraint, EntitySet principalEntitySet, bool useOriginalValues)
System\Data\Objects\Internal\IEntityWrapper.cs (2)
80void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption); 88void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption);
System\Data\Objects\Internal\LightweightEntityWrapper.cs (1)
56internal LightweightEntityWrapper(TEntity entity, EntityKey key, EntitySet entitySet, ObjectContext context, MergeOption mergeOption, Type identityType)
System\Data\Objects\Internal\NullEntityWrapper.cs (2)
119public void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) 124public void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (4)
35private readonly EntitySet _singleEntitySet; 37private ObjectQueryExecutionPlan(DbCommandDefinition commandDefinition, ShaperFactory resultShaperFactory, TypeUsage resultType, MergeOption mergeOption, EntitySet singleEntitySet, CompiledQueryParameters compiledQueryParameters) 116EntitySet singleEntitySet = null; 123foreach (EntitySet entitySet in entityDefinition.EntitySets)
System\Data\Objects\NextResultGenerator.cs (2)
23ReadOnlyMetadataCollection<EntitySet> _entitySets; 29internal NextResultGenerator(ObjectContext context, EntityCommand entityCommand, EdmType[] edmTypes, ReadOnlyMetadataCollection<EntitySet> entitySets, MergeOption mergeOption, int resultSetIndex)
System\Data\Objects\ObjectContext.cs (38)
512private void VerifyRootForAdd(bool doAttach, string entitySetName, IEntityWrapper wrappedEntity, EntityEntry existingEntry, out EntitySet entitySet, out bool isNoOperation) 516EntitySet entitySetFromName = null; 533EntitySet entitySetFromKey = null; 634EntitySet entitySet; 697internal void AddSingleObject(EntitySet entitySet, IEntityWrapper wrappedEntity, string argumentName) 896EntitySet entitySet = this.GetEntitySetFromName(entitySetName); 941EntitySet entitySet = this.GetEntitySetFromName(entitySetName); 1015EntitySet entitySet; 1093internal void AttachSingleObject(IEntityWrapper wrappedEntity, EntitySet entitySet, string argumentName) 1223EntitySet entitySet = this.GetEntitySetFromName(entitySetName); 1228internal EntitySet GetEntitySetFromName(string entitySetName) 1239private void AddRefreshKey(object entityLike, Dictionary<EntityKey, EntityEntry> entities, Dictionary<EntitySet, List<EntityKey>> currentKeys) 1253EntitySet entitySet = key.GetEntitySet(this.MetadataWorkspace); 1274EntitySet entitySet = GetEntitySetForType(typeof(TEntity), "TEntity"); 1284private EntitySet GetEntitySetForType(Type entityCLRType, string exceptionParameterName) 1286EntitySet entitySetForType = null; 1297EntitySet entitySetFromContainer = GetEntitySetFromContainer(entityContainer, entityCLRType, exceptionParameterName); 1327private EntitySet GetEntitySetFromContainer(EntityContainer container, Type entityCLRType, string exceptionParameterName) 1333EntitySet entitySet = null; 1346entitySet = (EntitySet)es; 1363EntitySet entitySet = GetEntitySetForNameAndType(entitySetName, typeof(TEntity), "TEntity"); 1378private EntitySet GetEntitySetForNameAndType(string entitySetName, Type entityCLRType, string exceptionParameterName) 1381EntitySet entitySet = GetEntitySetFromName(entitySetName); 1709internal void DeleteObject(object entity, EntitySet expectedEntitySet) 1757internal void Detach(object entity, EntitySet expectedEntitySet) 1834internal EntitySet GetEntitySet(string entitySetName, string entityContainerName) 1853EntitySet entitySet = null; 1903private void ValidateEntitySet(EntitySet entitySet, Type entityType) 1938EntitySet entitySet = key.GetEntitySet(this.MetadataWorkspace); 2061Dictionary<EntitySet, List<EntityKey>> refreshKeys = new Dictionary<EntitySet, List<EntityKey>>(); 2080foreach (EntitySet targetSet in refreshKeys.Keys) 2162private int BatchRefreshEntitiesByKey(RefreshMode refreshMode, Dictionary<EntityKey, EntityEntry> trackedEntities, EntitySet targetSet, List<EntityKey> targetKeys, int startFrom) 2491EntitySet entitySet = key.GetEntitySet(this.MetadataWorkspace); 2673private ObjectResult<TElement> CreateFunctionObjectResult<TElement>(EntityCommand entityCommand, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption) 2702internal ObjectResult<TElement> MaterializedDataRecord<TElement>(EntityCommand entityCommand, DbDataReader storeReader, int resultSetIndex, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption) 2712EntitySet entitySet = entitySets.Count > resultSetIndex ? entitySets[resultSetIndex] : null; 3156EntitySet entitySet = null;
System\Data\Objects\ObjectResult_TResultType.cs (4)
36private readonly EntitySet _singleEntitySet; 43internal ObjectResult(Shaper<T> shaper, EntitySet singleEntitySet, TypeUsage resultItemType) 48internal ObjectResult(Shaper<T> shaper, EntitySet singleEntitySet, TypeUsage resultItemType, bool readerOwned) 53internal ObjectResult(Shaper<T> shaper, EntitySet singleEntitySet, TypeUsage resultItemType, bool readerOwned, NextResultGenerator nextResultGenerator, Action<object, EventArgs> onReaderDispose)
System\Data\Objects\ObjectSet.cs (3)
40private readonly EntitySet _entitySet; 51internal ObjectSet(EntitySet entitySet, ObjectContext context) 64public EntitySet EntitySet
System\Data\Objects\ObjectStateEntry.cs (1)
41internal ObjectStateEntry(ObjectStateManager cache, EntitySet entitySet, EntityState state)
System\Data\Objects\ObjectStateManager.cs (17)
276internal EntityEntry AddKeyEntry(EntityKey entityKey, EntitySet entitySet) 329internal EntityEntry AddEntry(IEntityWrapper wrappedObject, EntityKey passedKey, EntitySet entitySet, string argumentName, bool isAdded) 457if (!((EntitySet)newEntry.EntitySet).HasForeignKeyRelationships) 648StateManagerTypeMetadata typeMetadata = GetOrAddStateManagerTypeMetadata(wrappedEntity.IdentityType, (EntitySet)keyEntry.EntitySet); 669wrappedEntity.AttachContext(contextToAttach, (EntitySet)keyEntry.EntitySet, MergeOption.AppendOnly); 1408internal EntityEntry AttachEntry(EntityKey entityKey, IEntityWrapper wrappedObject, EntitySet entitySet, string argumentName) 1454private void CheckKeyMatchesEntity(IEntityWrapper wrappedEntity, EntityKey entityKey, EntitySet entitySetForType, bool forAttach) 1463EntitySet entitySetForKey = entityKey.GetEntitySet(this.MetadataWorkspace); 1969var entitySet = (EntitySet)entry.EntitySet; 1984newKey = new EntityKey((EntitySet)entry.EntitySet, (IExtendedDataRecord)entry.CurrentValues); 2973internal StateManagerTypeMetadata GetOrAddStateManagerTypeMetadata(Type entityType, EntitySet entitySet) 3013private StateManagerTypeMetadata AddStateManagerTypeMetadata(EntitySet entitySet, ObjectTypeMapping mapping) 3302private EntitySet GetEntitySetOfOtherEnd(IEntityWrapper entity, RelatedEnd relatedEnd) 3306EntitySet entitySet = associationSet.AssociationSetEnds[0].EntitySet; 3515EntityKey permanentRelatedKey = new EntityKey((EntitySet)relatedEntry.EntitySet, (IExtendedDataRecord)relatedEntry.CurrentValues); 3715internal EntityKey CreateEntityKey(EntitySet entitySet, object entity)
System\Data\Objects\ObjectStateManagerMetadata.cs (2)
24internal readonly EntitySet EntitySet; 26internal EntitySetQualifiedType(Type type, EntitySet set)
System\Data\Objects\ObjectViewFactory.cs (3)
68/// If the query results are composed of entities that only exist in a single <see cref="EntitySet"/>, 76internal static IBindingList CreateViewForQuery<TElement>(TypeUsage elementEdmTypeUsage, IEnumerable<TElement> queryResults, ObjectContext objectContext, bool forceReadOnly, EntitySet singleEntitySet) 124new Type[] { typeof(IEnumerable), typeof(ObjectContext), typeof(bool), typeof(EntitySet) },
System\Data\Objects\ObjectViewQueryResultData.cs (2)
46private EntitySet _entitySet; 70internal ObjectViewQueryResultData(IEnumerable queryResults, ObjectContext objectContext, bool forceReadOnlyList, EntitySet entitySet)
System\Data\Query\InternalTrees\ColumnMap.cs (6)
919private md.EntitySet m_entitySet; // the entity set 928internal SimpleEntityIdentity(md.EntitySet entitySet, SimpleColumnMap[] keyColumns) 938internal md.EntitySet EntitySet { get { return m_entitySet; } } 973private md.EntitySet[] m_entitySetMap; // optional dictionary that maps values to entitysets 981internal DiscriminatedEntityIdentity(SimpleColumnMap entitySetColumn, md.EntitySet[] entitySetMap, 999internal md.EntitySet[] EntitySetMap
System\Data\Query\InternalTrees\ColumnMapFactory.cs (3)
33internal static CollectionColumnMap CreateFunctionImportStructuralTypeColumnMap(DbDataReader storeDataReader, FunctionImportMappingNonComposable mapping, int resultSetIndex, EntitySet entitySet, StructuralType baseStructuralType) 85internal static CollectionColumnMap CreateColumnMapFromReaderAndType(DbDataReader storeDataReader, EdmType edmType, EntitySet entitySet, Dictionary<string, FunctionImportReturnTypeStructuralTypeColumnRenameMapping> renameList) 215DbDataReader storeDataReader, EdmType edmType, EntitySet entitySet,
System\Data\Query\InternalTrees\Command.cs (3)
820internal NewEntityOp CreateScopedNewEntityOp(TypeUsage type, List<RelProperty> relProperties, EntitySet entitySet) 842EntitySet entitySet, List<RelProperty> relProperties) 952internal RefOp CreateRefOp(EntitySet entitySet, TypeUsage type)
System\Data\Query\InternalTrees\ScalarOps.cs (8)
991private readonly EntitySet m_entitySet; 996internal NewEntityBaseOp(OpType opType, TypeUsage type, bool scoped, EntitySet entitySet, List<RelProperty> relProperties) 1019internal EntitySet EntitySet { get { return m_entitySet; } } 1036internal NewEntityOp(TypeUsage type, List<RelProperty> relProperties, bool scoped, EntitySet entitySet) 1117EntitySet entitySet, List<RelProperty> relProperties) 1310private EntitySet m_entitySet; 1314internal RefOp(EntitySet entitySet, TypeUsage type) 1336internal EntitySet EntitySet { get { return m_entitySet; } }
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
548md.EntitySet entitySet = m_typeInfo.GetEntitySet(entityType);
System\Data\Query\PlanCompiler\ConstraintManager.cs (2)
142md.EntitySet parent = System.Data.Common.Utils.MetadataHelper.GetEntitySetAtEnd(assocSet, fromEnd);// relationshipSet.GetRelationshipEndExtent(constraint.FromRole); 143md.EntitySet child = System.Data.Common.Utils.MetadataHelper.GetEntitySetAtEnd(assocSet, toEnd);// relationshipSet.GetRelationshipEndExtent(constraint.ToRole);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
2653md.EntitySet entitySet = op.EntitySet as md.EntitySet;
System\Data\Query\PlanCompiler\PlanCompiler.cs (2)
168internal static void Compile(cqt.DbCommandTree ctree, out List<ProviderCommandInfo> providerCommands, out ColumnMap resultColumnMap, out int columnCount, out Common.Utils.Set<md.EntitySet> entitySets) 265private void Compile(out List<ProviderCommandInfo> providerCommands, out ColumnMap resultColumnMap, out int columnCount, out Common.Utils.Set<md.EntitySet> entitySets)
System\Data\Query\PlanCompiler\PreProcessor.cs (19)
117private readonly Stack<EntitySet> m_entityTypeScopes = new Stack<EntitySet>(); 122private readonly HashSet<EntitySet> m_referencedEntitySets = new HashSet<EntitySet>(); 213private void AddEntitySetReference(EntitySet entitySet) 272private List<EntitySet> GetEntitySets(TypeUsage entityType) 274List<EntitySet> sets = new List<EntitySet>(); 279EntitySet set = baseSet as EntitySet; 626List<EntitySet> targetEntitySets = GetEntitySets(entityType); 636foreach (EntitySet entitySet in targetEntitySets) 1163var scope = m_entityTypeScopes.Pop(); 1533private EntitySet GetCurrentEntityTypeScope() 1739EntitySet scope = GetCurrentEntityTypeScope(); 2072EntitySet entitySet = op.Table.TableMetadata.Extent as EntitySet; 2158m_entityTypeScopes.Push((EntitySet)op.Table.TableMetadata.Extent); 2170var scope = m_entityTypeScopes.Pop();
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (21)
99private md.EntitySet[] m_entitySetIdToEntitySetMap; //used as a Dictionary with the index as key 100private Dictionary<md.EntitySet, int> m_entitySetToEntitySetIdMap; 105private Dictionary<md.EntityTypeBase, md.EntitySet> m_entityTypeToEntitySetMap; 143HashSet<md.EntitySet> referencedEntitySets, 165HashSet<md.EntitySet> referencedEntitySets, 188internal md.EntitySet[] EntitySetIdToEntitySetMap 211internal md.EntitySet GetEntitySet(md.EntityTypeBase type) 213md.EntitySet set; 227internal int GetEntitySetId(md.EntitySet e) 242internal Common.Utils.Set<md.EntitySet> GetEntitySets() 244return new Common.Utils.Set<md.EntitySet>(m_entitySetIdToEntitySetMap).MakeReadOnly(); 281private void AddEntityTypeToSetEntry(md.EntityType entityType, md.EntitySet entitySet) 283md.EntitySet other; 314private void ProcessEntitySets(HashSet<md.EntitySet> referencedEntitySets, HashSet<md.EntityType> freeFloatingEntityConstructorTypes) 321m_entityTypeToEntitySetMap = new Dictionary<md.EntityTypeBase, md.EntitySet>(); 322foreach (md.EntitySet e in referencedEntitySets) 371private void AssignEntitySetIds(HashSet<md.EntitySet> referencedEntitySets) 373m_entitySetIdToEntitySetMap = new md.EntitySet[referencedEntitySets.Count]; 374m_entitySetToEntitySetIdMap = new Dictionary<md.EntitySet, int>(); 377foreach (md.EntitySet e in referencedEntitySets) 446md.EntitySet entitySet;
System\Data\SqlClient\SqlProviderUtilities.cs (10)
43private readonly HashSet<EntitySet> ignoredEntitySets = new HashSet<EntitySet>(); 52var entitySets = container.BaseEntitySets.OfType<EntitySet>().OrderBy(s => s.Name); 67foreach (EntitySet entitySet in container.BaseEntitySets.OfType<EntitySet>().OrderBy(s => s.Name)) 184private static string GetSchemaName(EntitySet entitySet) 189private static string GetTableName(EntitySet entitySet) 228private void AppendCreateTable(EntitySet entitySet) 280private void AppendIdentifier(EntitySet table) 285private void AppendIdentifier(EntitySet table, Action<string> AppendIdentifierEscape)
System.Data.Entity.Design (52)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
691WriteEntitySetElement((EntitySet)set); 730private void WriteEntitySetElement(EntitySet entitySet)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (15)
26internal Dictionary<EntitySet, EntitySet> StoreEntitySetToModelEntitySet = new Dictionary<EntitySet, EntitySet>(); 45private EntitySet _storeEntitySet; 59public CollapsedEntityAssociationSet(EntitySet entitySet) 65public EntitySet EntitySet 279foreach (EntitySet set in _lookups.StoreEntitySetToModelEntitySet.Keys) 281EntitySet modelEntitySet = _lookups.StoreEntitySetToModelEntitySet[set]; 462private void WriteEntitySetMappingElement(XmlWriter writer, EntitySet store, EntitySet model) 470private void WriteEntityTypeMappingElement(XmlWriter writer, EntitySet store, EntitySet model) 478private void WriteMappingFragmentElement(XmlWriter writer, EntitySet store, EntitySet model)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (14)
284public Dictionary<EntitySet, OneToOneMappingSerializer.CollapsedEntityAssociationSet> CandidateCollapsedAssociations = new Dictionary<EntitySet, OneToOneMappingSerializer.CollapsedEntityAssociationSet>(); 347EntitySet set = (EntitySet)storeSet; 370EntitySet entitySet = CreateModelEntitySet(session, collapsed.EntitySet); 596Dictionary<EntitySet, OneToOneMappingSerializer.CollapsedEntityAssociationSet> newCandidates = new Dictionary<EntitySet,OneToOneMappingSerializer.CollapsedEntityAssociationSet>(); 614EntitySet end0Set = set.AssociationSetEnds[0].EntitySet; 615EntitySet end1Set = set.AssociationSetEnds[1].EntitySet; 749private EntitySet CreateModelEntitySet(LoadMethodSessionState session, EntitySet storeEntitySet) 755EntitySet set = new EntitySet(name, null, null, null, entity); 857EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.EntitySet]; 899EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.EntitySet];
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (6)
174EntitySet entitySet = CreateEntitySet(session, type); 463EntitySet entitySet = session.GetEntitySet(end); 473private EntitySet CreateEntitySet( 487EntitySet entitySet = new EntitySet(type.Name, 1523EntitySet entitySet = session.EntityTypeToSet[entityType]; 1598private void FixupViewEntitySetDefiningQuery(EntitySet entitySet, MetadataWorkspace metadataWorkspace)
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (3)
27public Dictionary<EntityType, EntitySet> EntityTypeToSet = new Dictionary<EntityType, EntitySet>(); 74public EntitySet GetEntitySet(RelationshipEndMember end)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
263EntitySet entitySet = (EntitySet)entitySetBase;
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (9)
90EntitySet set = (EntitySet)entitySetBase; 103EntitySet set = (EntitySet)entitySetBase; 181EntitySet set = (EntitySet)entitySetBase; 280private CodeMemberField CreateEntitySetField(EntitySet set) 306private CodeMemberProperty CreateEntitySetProperty(EntitySet set) 423private CodeMemberMethod CreateEntitySetAddObjectProperty(EntitySet set)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (1)
80protected static MemberAttributes GetEntitySetPropertyAccessibility(EntitySet item)
System.Data.Services (25)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (25)
113EntitySet sourceEntitySet = this.GetEntitySet(resourceSet.Name); 142EntitySet targetEntitySet = setEnd.EntitySet; 880EntitySet entitySet = (EntitySet)entitySetBase; 1012foreach (EntitySet entitySet in GetEntitySetsForType(workspace, type)) 1014IEnumerable<EntitySet> entitySetsWithAssocation = GetEntitySetsWithAssociationSets( 1053/// Gets all <see cref="EntitySet"/> instance that may hold an entity of type <paramref name="type"/>. 1057/// <returns>An enumeration of <see cref="EntitySet"/> instances that can hold <paramref name="type"/>.</returns> 1058private static IEnumerable<EntitySet> GetEntitySetsForType(MetadataWorkspace workspace, EntityType type) 1064foreach (EntitySet entitySet in container.BaseEntitySets.OfType<EntitySet>()) 1081/// All <see cref="EntitySet"/> instances that are are on the <paramref name="member"/> role for 1084private static IEnumerable<EntitySet> GetEntitySetsWithAssociationSets( 1479private static NavigationProperty PropertyForEnd(EntitySet set, RelationshipEndMember member) 1789private static void WriteEntitySet(XmlWriter xmlWriter, EntitySet entitySet) 1978List<EntitySet> entitySets; 1981foreach (EntitySet entitySet in entitySets) 2285private EntitySet GetEntitySet(string qualifiedEntitySetName) 2312EntitySet entitySet = entityContainer.GetEntitySetByName(entitySetName, false /*ignoreCase*/); 2495private Dictionary<EntityContainer, List<EntitySet>> entitySets = new Dictionary<EntityContainer, List<EntitySet>>(EqualityComparer<EntityContainer>.Default); 2559internal Dictionary<EntityContainer, List<EntitySet>> EntitySets 2648List<EntitySet> entitySetInContainer; 2651entitySetInContainer = new List<EntitySet>(); 2675entitySetInContainer.Add((EntitySet)set);
System.Data.Services.Design (12)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
419EntitySet entitySet = (EntitySet)entitySetBase;
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (9)
99EntitySet set = (EntitySet)entitySetBase; 112EntitySet set = (EntitySet)entitySetBase; 147EntitySet set = (EntitySet)entitySetBase; 448private CodeMemberField CreateEntitySetField(EntitySet set) 466private CodeMemberProperty CreateEntitySetProperty(EntitySet set) 585private CodeMemberMethod CreateEntitySetAddObjectMethod(EntitySet set)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (1)
73protected static MemberAttributes GetEntitySetPropertyAccessibility(EntitySet item)
System.Web.DynamicData (6)
DynamicData\ModelProviders\EFDataModelProvider.cs (4)
37IDictionary<EntityType, EntitySet> entitySetLookup = container.BaseEntitySets.OfType<EntitySet>().ToDictionary(e => e.ElementType); 43EntitySet currentEntitySet = null; 101private TableProvider CreateTableProvider(EntitySet entitySet, EntityType entityType) {
DynamicData\ModelProviders\EFTableProvider.cs (2)
12public EFTableProvider(EFDataModelProvider dataModel, EntitySet entitySet, EntityType entityType, 51private static string CreateEntitySqlQueryString(EntitySet entitySet) {
System.Web.Entity (14)
System\Data\WebControls\EntityDataSourceUtil.cs (9)
47internal static bool PropertyIsOnEntity(string propertyName, EntityDataSourceWrapperCollection wrapperCollection, EntitySet entitySet, TypeUsage tu) 754internal static IEnumerable<AssociationSetEnd> GetReferenceEnds(EntitySet entitySet, EntityType entityType, bool forKey) 828private static bool IsReferenceEnd(EntitySet entitySet, EntityType entityType, AssociationSetEnd fromEnd, AssociationSetEnd toEnd, bool forKey) 869internal static string GetQualifiedEntitySetName(EntitySet entitySet) 908EntitySet entitySet, EntityType entityType) 939private static ReadOnlyCollection<EdmMember> GetInterestingMembers(MetadataWorkspace csWorkspace, EntitySet entitySet, EntityType entityType) 957private static IEnumerable<EntityDataSourceColumn> GetColumns(EntitySet entitySet, EntityType entityType, 1005private static void AddReferenceNavigationColumns(List<EntityDataSourceColumn> columns, MetadataWorkspace ocWorkspace, EntitySet entitySet, EntityType entityType) 1020private static void AddReferenceKeyColumns(List<EntityDataSourceColumn> columns, MetadataWorkspace ocWorkspace, EntitySet entitySet, EntityType entityType, Dictionary<EdmProperty, EntityDataSourcePropertyColumn> entityProperties)
System\Data\WebControls\EntityDataSourceView.cs (4)
117public void CreateCollection(ObjectContext context, EntitySet entitySet, EntityType CSpaceFilteredEntityType, ManagerMode mode) 1529private EntitySet EntitySet 1568EntitySet entitySet = entityContainer.GetEntitySetByName(_owner.EntitySetName, false); 1642EntitySet entitySet;
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (1)
57internal EntityDataSourceWrapperCollection(ObjectContext context, EntitySet entitySet, EntityType restrictedEntityType)
System.Web.Entity.Design (5)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (2)
1308entitySetNameItems.Add(new EntityDataSourceEntitySetNameItem(entitySetBase as EntitySet)); 1400EntitySet entitySet;
System\Data\WebControls\Design\EntityDataSourceEntitySetNameItem.cs (3)
18private readonly EntitySet _entitySet; // used when we have a real EntitySet backing this item 21internal EntityDataSourceEntitySetNameItem(EntitySet entitySet) 47internal EntitySet EntitySet