2 types derived from EntitySetBase
System.Data.Entity (2)
System\Data\Metadata\Edm\EntitySet.cs (1)
23public class EntitySet : EntitySetBase
System\Data\Metadata\Edm\RelationshipSet.cs (1)
20public abstract class RelationshipSet : EntitySetBase
382 references to EntitySetBase
System.Data.Entity (339)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (3)
213protected virtual EntitySetBase VisitEntitySet(EntitySetBase entitySet) { return entitySet; } 831EntitySetBase newSet = this.VisitEntitySet(expression.Target);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
667public static DbScanExpression Scan(this EntitySetBase targetSet)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
809internal static TypeUsage ValidateScan(EntitySetBase entitySet) 1779private static void CheckReadOnly(EntitySetBase item, string varName) 1908private static void CheckEntitySet(EntitySetBase entitySet, string varName)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (3)
47protected override EntitySetBase VisitEntitySet(EntitySetBase entitySet) 52EntitySetBase extent = null;
System\Data\Common\CommandTrees\Internal\Validator.cs (2)
55protected override EntitySetBase VisitEntitySet(EntitySetBase entitySet)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
44internal static DbQueryCommandTree SimplifyView(EntitySetBase extent, DbQueryCommandTree view) 52private readonly EntitySetBase extent; 54private ViewSimplifier(MetadataWorkspace mws, EntitySetBase viewTarget)
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
760private readonly EntitySetBase _targetSet; 762internal DbScanExpression(TypeUsage collectionOfEntityType, EntitySetBase entitySet) 773public EntitySetBase Target { get { return _targetSet; } }
System\Data\Common\EntityRecordInfo.cs (1)
96private void ValidateEntityType(EntitySetBase entitySet)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
681EntitySetBase entitySetBase;
System\Data\Common\Internal\Materialization\Shaper.cs (1)
467foreach (var entitySetBase in entitySet.EntityContainer.BaseEntitySets)
System\Data\Common\Utils\MetadataHelper.cs (7)
563internal static bool IsExtentAtSomeRelationshipEnd(AssociationSet relationshipSet, EntitySetBase extent) 574internal static AssociationEndMember GetSomeEndForEntitySet(AssociationSet associationSet, EntitySetBase entitySet) 599foreach (EntitySetBase extent in entitySet1.EntityContainer.BaseEntitySets) 623ReadOnlyMetadataCollection<EntitySetBase> baseEntitySets = entityContainer.BaseEntitySets; 627EntitySetBase extent = baseEntitySets[i]; 649internal static List<AssociationSet> GetAssociationsForEntitySet(EntitySetBase entitySet) 655foreach (EntitySetBase extent in entitySet.EntityContainer.BaseEntitySets)
System\Data\EntityKey.cs (11)
189internal EntityKey(EntitySetBase entitySet) 208internal EntityKey(EntitySetBase entitySet, object singletonKeyValue) 228internal EntityKey(EntitySetBase entitySet, object[] compositeKeyValues) 723if (((EntitySetBase)entitySet).ElementType.KeyMembers.Count != numKeyMembers) 743EdmMember singletonKeyMember = ((EntitySetBase)entitySet).ElementType.KeyMembers[0]; 757EdmMember keyMember = ((EntitySetBase)entitySet).ElementType.KeyMembers[i]; 942int numExpectedKeyValues = ((EntitySetBase)entitySet).ElementType.KeyMembers.Count; 943keyNames = ((EntitySetBase)entitySet).ElementType.KeyMemberNames; 1005ReadOnlyMetadataCollection<EdmMember> keyMembers = ((EntitySetBase)entitySet).ElementType.KeyMembers; 1054EdmMember keyField = ((EntitySetBase)entitySet).ElementType.KeyMembers[i]; 1156private void AssertCorrectState(EntitySetBase entitySet, bool isTemporary)
System\Data\IEntityStateEntry.cs (1)
30EntitySetBase EntitySet { get; }
System\Data\Mapping\BaseMetadataMappingVisitor.cs (3)
39protected virtual void Visit(EntitySetBase entitySetBase) 69foreach (var set in entityContainer.BaseEntitySets) 364Visit((EntitySetBase)storageMappingFragment.TableSet);
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
243protected override void Visit(EntitySetBase entitySetBase)
System\Data\Mapping\StorageAssociationSetMapping.cs (1)
62internal EntitySetBase StoreEntitySet
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
289internal IEnumerable<StorageAssociationSetMapping> GetRelationshipSetMappingsFor(EntitySetBase edmEntitySet, EntitySetBase storeEntitySet )
System\Data\Mapping\StorageMappingItemCollection.cs (17)
26using OfTypeQVCacheKey = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 63private ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>> _cachedInterestingMembers = 64new ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>>(); 206Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict; 399internal Dictionary<EntitySetBase, string> GenerateEntitySetViews(out IList<EdmSchemaError> errors) 401Dictionary<EntitySetBase, string> esqlViews = new Dictionary<EntitySetBase, string>(); 430KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views; 431foreach (KeyValuePair<EntitySetBase, List<GeneratedView>> extentViewPair in extentMappingViews.KeyValuePairs) 454internal ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 459var key = new Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>(entitySet, entityType, interestingMembersKind); 471private ReadOnlyCollection<EdmMember> FindInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 633private void FindForeignKeyProperties(EntitySetBase entitySetBase, EntityTypeBase entityType, List<EdmMember> interestingMembers) 696internal GeneratedView GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace) 733Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 787Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 883internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView)
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (24)
24using OfTypeQVCacheKey = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 28internal delegate bool TryGetUserDefinedQueryView(EntitySetBase extent, out GeneratedView generatedView); 50private readonly Memoizer<EntityContainer, Dictionary<EntitySetBase, GeneratedView>> m_generatedViewsMemoizer; 57out Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 61this.m_generatedViewsMemoizer = new Memoizer<EntityContainer, Dictionary<EntitySetBase, GeneratedView>>(SerializedGetGeneratedViews, null); 64userDefinedQueryViewsDict = new Dictionary<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default); 71private Dictionary<EntitySetBase, GeneratedView> SerializedGetGeneratedViews(EntityContainer container) 76Dictionary<EntitySetBase, GeneratedView> extentMappingViews; 90extentMappingViews = new Dictionary<EntitySetBase, GeneratedView>(); 128private void SerializedGenerateViews(StorageEntityContainerMapping entityContainerMap, Dictionary<EntitySetBase, GeneratedView> resultDictionary) 134KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views; 141foreach (KeyValuePair<EntitySetBase, List<GeneratedView>> keyValuePair in extentMappingViews.KeyValuePairs) 161private bool TryGenerateQueryViewOfType(EntityContainer entityContainer, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 185KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views; 205internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 226EntitySetBase entity = arg.First; 262internal GeneratedView GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace, StorageMappingItemCollection storageMappingItemCollection) 352Dictionary<EntitySetBase, GeneratedView> generatedViews = m_generatedViewsMemoizer.Evaluate(extent.EntityContainer); 368private void SerializedCollectViewsFromObjectCollection(MetadataWorkspace workspace, Dictionary<EntitySetBase, GeneratedView> extentMappingViews) 406private void SerializedAddGeneratedViewsInEntityViewContainer(MetadataWorkspace workspace, EntityViewContainer entityViewContainer, Dictionary<EntitySetBase, GeneratedView> extentMappingViews) 485private void SerializedAddGeneratedViews(MetadataWorkspace workspace, EntityViewContainer viewContainer, Dictionary<EntitySetBase, GeneratedView> extentMappingViews) 490EntitySetBase extent = null; 539private void SerializedCollectViewsFromReferencedAssemblies(MetadataWorkspace workspace, Dictionary<EntitySetBase, GeneratedView> extentMappingViews)
System\Data\Mapping\StorageMappingItemLoader.cs (23)
26using Triple = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 553Dictionary<EntitySetBase, int> mappingCounts = new Dictionary<EntitySetBase, int>(); 561Set<EntitySetBase> associationSets = new Set<EntitySetBase>(); 567foreach (EntitySetBase associationSet in associationSets) 585foreach (KeyValuePair<EntitySetBase, int> mappingCount in mappingCounts) 645Set<EntitySetBase> implicitMappedAssociationSets = new Set<EntitySetBase>(); 675private static void ValidateClosureAmongSets(StorageEntityContainerMapping entityContainerMapping, Set<EntitySetBase> sets, Set<EntitySetBase> additionalSetsInClosure) 681List<EntitySetBase> newNodes = new List<EntitySetBase>(); 684foreach (EntitySetBase entitySetBase in additionalSetsInClosure) 703foreach (EntitySetBase entitySetBase in entityContainerMapping.EdmEntityContainer.BaseEntitySets) 753Set<EntitySetBase> setsWithQueryViews = new Set<EntitySetBase>(); 754Set<EntitySetBase> setsRequiringQueryViews = new Set<EntitySetBase>(); 3747EntitySetBase extent) 3751m_modelContainer = EntityUtil.CheckArgumentNull<EntitySetBase>(extent, "extent").EntityContainer; 3765internal StorageModificationFunctionMapping LoadEntityTypeModificationFunctionMapping(XPathNavigator nav, EntitySetBase entitySet, bool allowCurrentVersion, bool allowOriginalVersion, EntityType entityType) 3787internal StorageModificationFunctionMapping LoadAssociationSetModificationFunctionMapping(XPathNavigator nav, EntitySetBase entitySet, bool isInsert)
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
132EntitySetBase entitySet,
System\Data\Mapping\StorageSetMapping.cs (4)
21using Triple = Pair<EntitySetBase, Pair<EntityTypeBase, bool>>; 51internal StorageSetMapping(EntitySetBase extent, StorageEntityContainerMapping entityContainerMapping) { 66private EntitySetBase m_extent; 100internal EntitySetBase Set
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
43internal ExtractorMetadata(EntitySetBase entitySetBase, StructuralType type, UpdateTranslator translator)
System\Data\Mapping\Update\Internal\Propagator.cs (1)
322EntitySetBase extent = node.Target;
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
112internal static PropagatorResult CreatePlaceholder(EntitySetBase extent, UpdateTranslator parent)
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
324foreach (EntitySetBase extent in container.BaseEntitySets)
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (1)
106private bool ExtentInScope(EntitySetBase extent)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (9)
29private readonly KeyToListMap<EntitySetBase, ReferentialConstraint> _sourceMap; 35private readonly KeyToListMap<EntitySetBase, ReferentialConstraint> _targetMap; 83private static void InitializeForeignKeyMaps(HashSet<EntityContainer> containers, HashSet<EntitySet> tables, out KeyToListMap<EntitySetBase, ReferentialConstraint> sourceMap, out KeyToListMap<EntitySetBase, ReferentialConstraint> targetMap) 85sourceMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 86targetMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 92foreach (EntitySetBase extent in container.BaseEntitySets)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (17)
54m_changes = new Dictionary<EntitySetBase, ChangeNode>(); 55m_functionChanges = new Dictionary<EntitySetBase, List<ExtractedStateEntry>>(); 76m_extractorMetadata = new Dictionary<Tuple<EntitySetBase, StructuralType>, ExtractorMetadata>(); ; 87private readonly Dictionary<EntitySetBase, ChangeNode> m_changes; 88private readonly Dictionary<EntitySetBase, List<ExtractedStateEntry>> m_functionChanges; 111private readonly Dictionary<Tuple<EntitySetBase, StructuralType>, ExtractorMetadata> m_extractorMetadata; 615private IEnumerable<EntitySetBase> GetDynamicModifiedExtents() 625private IEnumerable<EntitySetBase> GetFunctionModifiedExtents() 642foreach (EntitySetBase extent in GetDynamicModifiedExtents()) 717foreach (EntitySetBase extent in GetFunctionModifiedExtents()) 743internal ExtractorMetadata GetExtractorMetadata(EntitySetBase entitySetBase, StructuralType type) 926EntitySetBase extent = stateEntry.EntitySet; 1020private void ValidateRecord(EntitySetBase extent, IExtendedDataRecord record, IEntityStateEntry entry) 1038private static void VerifyExtent(MetadataWorkspace workspace, EntitySetBase extent) 1078EntitySetBase extent = stateEntry.EntitySet; 1109internal ChangeNode GetExtentModifications(EntitySetBase extent) 1130internal List<ExtractedStateEntry> GetExtentFunctionModifications(EntitySetBase extent)
System\Data\Mapping\Update\Internal\ViewLoader.cs (14)
43private readonly Dictionary<EntitySetBase, Set<EntitySet>> m_affectedTables = new Dictionary<EntitySetBase, Set<EntitySet>>(); 46private readonly Dictionary<EntitySetBase, ModificationFunctionMappingTranslator> m_functionMappingTranslators = new Dictionary<EntitySetBase, ModificationFunctionMappingTranslator>( 47EqualityComparer<EntitySetBase>.Default); 58internal ModificationFunctionMappingTranslator GetFunctionMappingTranslator(EntitySetBase extent, MetadataWorkspace workspace) 70internal Set<EntitySet> GetAffectedTables(EntitySetBase extent, MetadataWorkspace workspace) 91internal bool IsServerGen(EntitySetBase entitySetBase, MetadataWorkspace workspace, EdmMember member) 102internal bool IsNullConditionMember(EntitySetBase entitySetBase, MetadataWorkspace workspace, EdmMember member) 110private T_Value SyncGetValue<T_Key, T_Value>(EntitySetBase entitySetBase, MetadataWorkspace workspace, Dictionary<T_Key, T_Value> dictionary, T_Key key) 118private bool SyncContains<T_Element>(EntitySetBase entitySetBase, MetadataWorkspace workspace, Set<T_Element> set, T_Element element) 128private TResult SyncInitializeEntitySet<TArg, TResult>(EntitySetBase entitySetBase, MetadataWorkspace workspace, Func<TArg, TResult> evaluate, TArg arg) 163private void InitializeEntitySet(EntitySetBase entitySetBase, MetadataWorkspace workspace) 268private void InitializeFunctionMappingTranslators(EntitySetBase entitySetBase, StorageEntityContainerMapping mapping)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (6)
124KeyToListMap<EntitySetBase, LeafCellTreeNode> extentMap = 125new KeyToListMap<EntitySetBase, LeafCellTreeNode>(EqualityComparer<EntitySetBase>.Default); 135EntitySetBase extent = childNode.LeftCellWrapper.RightCellQuery.Extent; // relation or extent to group by 146foreach (EntitySetBase extent in extentMap.Keys) 314EntitySetBase extent = GetLeafNodeTable(leaf);
System\Data\Mapping\ViewGeneration\CellCreator.cs (2)
299EntitySetBase extent = extentMap.Set; 318private void ExtractCellsFromTableFragment(EntitySetBase extent, StorageMappingFragment fragmentMap,
System\Data\Mapping\ViewGeneration\CellPartitioner.cs (6)
70EntitySetBase firstCExtent = cell.CQuery.Extent; 71EntitySetBase firstSExtent = cell.SQuery.Extent; 74EntitySetBase secondCExtent = existingCell.CQuery.Extent; 75EntitySetBase secondSExtent = existingCell.SQuery.Extent; 139EntitySetBase sExtent1 = cell1.SQuery.Extent; 140EntitySetBase sExtent2 = cell2.SQuery.Extent;
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (7)
284KeyToListMap<EntitySetBase, CellTreeNode> extentMap = 285new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default); 313KeyToListMap<EntitySetBase, CellTreeNode> extentMap = 314new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default); 341EntitySetBase firstExtent = firstNode.LeftCellWrapper.RightCellQuery.Extent;
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (2)
30internal ExtentCqlBlock(EntitySetBase extent, 45private readonly EntitySetBase m_extent;
System\Data\Mapping\ViewGeneration\GeneratedView.cs (5)
35internal static GeneratedView CreateGeneratedView(EntitySetBase extent, 68internal static GeneratedView CreateGeneratedViewForFKAssociationSet(EntitySetBase extent, 138private GeneratedView(EntitySetBase extent, 168private readonly EntitySetBase m_extent; 233EntitySetBase extent,
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (2)
36internal void CreateVariableConstraints(EntitySetBase extent, MemberDomainMap domainMap, EdmItemCollection edmItemCollection) 41internal void CreateAssociationConstraints(EntitySetBase extent, MemberDomainMap domainMap, EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\QueryRewriting\RoleBoolean.cs (1)
25internal RoleBoolean(EntitySetBase extent)
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (4)
124internal EntitySetBase Extent 128EntitySetBase extent = m_extentMemberPath.Extent as EntitySetBase; 907EntitySetBase extent = m_extentMemberPath.Extent;
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (2)
202EntitySetBase thisExtent, 258private StorageEndPropertyMapping GetForeignKeyEndMapFromAssocitionMap(StorageAssociationSetMapping colocatedAssociationSetMap, EntitySetBase thisExtent)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (7)
152internal EntitySetBase LeftExtent 161internal EntitySetBase RightExtent 165EntitySetBase result = m_rightCellQuery.Extent; 206Set<EntitySetBase> extents = new Set<EntitySetBase>(EqualityComparer<EntitySetBase>.Default); 214foreach (EntitySetBase extent in extents)
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
315internal IEnumerable<MemberPath> ConditionMembers(EntitySetBase extent) 327internal IEnumerable<MemberPath> NonConditionMembers(EntitySetBase extent)
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (6)
33private readonly EntitySetBase m_extent; 45internal MemberPath(EntitySetBase extent, IEnumerable<EdmMember> path) 54internal MemberPath(EntitySetBase extent) 61internal MemberPath(EntitySetBase extent, EdmMember member) 207internal EntitySetBase Extent 554internal static IEnumerable<MemberPath> GetKeyMembers(EntitySetBase extent, MemberDomainMap domainMap)
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (1)
35internal static MemberProjectionIndex Create(EntitySetBase extent, EdmItemCollection edmItemCollection)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
312EntitySetBase rightExtent = firstLeftCWrapper.RightCellQuery.Extent;
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (3)
94foreach (EntitySetBase extent in container.BaseEntitySets) 617private static List<LeftCellWrapper> GetWrappersFromContext(ViewgenContext context, EntitySetBase extent) 861EntitySetBase table = cell.SQuery.Extent;
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (4)
105EntitySetBase table = keySlots[0].SSlot.MemberPath.Extent; 106EntitySetBase cSet = keySlots[0].CSlot.MemberPath.Extent; 155EntitySetBase table = keySlots[0].SSlot.MemberPath.Extent; 156EntitySetBase cSet = keySlots[0].CSlot.MemberPath.Extent;
System\Data\Mapping\ViewGeneration\Validator.cs (6)
287var cExtent = cell.CQuery.Extent; 288var sExtent = cell.SQuery.Extent; 380internal ExtentPair(EntitySetBase acExtent, EntitySetBase asExtent) 385internal EntitySetBase cExtent; 386internal EntitySetBase sExtent;
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (4)
32private EntitySetBase m_extent; 57internal ViewgenContext(ViewTarget viewTarget, EntitySetBase extent, IEnumerable<Cell> extentCells, 103EntitySetBase rightExtent = leftCellWrapper.RightExtent; 176internal EntitySetBase Extent
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (13)
25using ViewSet = KeyToListMap<EntitySetBase, GeneratedView>; 42private Dictionary<EntitySetBase, QueryRewriter> m_queryRewriterCache; 59m_queryRewriterCache = new Dictionary<EntitySetBase, QueryRewriter>(); 168internal ErrorLog GenerateQueryViewForSingleExtent(ViewSet views, CqlIdentifiers identifiers, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode) 242private ErrorLog GenerateQueryViewForExtentAndType(StorageEntityContainerMapping entityContainerMapping, CqlIdentifiers identifiers, ViewSet views, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode) 290KeyToListMap<EntitySetBase, Cell> extentCellMap = GroupCellsByExtent(m_cellGroup, viewTarget); 296foreach (EntitySetBase extent in extentCellMap.Keys) 346private QueryRewriter GenerateDirectionalViewsForExtent(ViewTarget viewTarget, EntitySetBase extent, CqlIdentifiers identifiers, ViewSet views) 386private ViewgenContext CreateViewgenContext(EntitySetBase extent, ViewTarget viewTarget, CqlIdentifiers identifiers) 491private static KeyToListMap<EntitySetBase, Cell> GroupCellsByExtent(IEnumerable<Cell> cells, ViewTarget viewTarget) 496KeyToListMap<EntitySetBase, Cell> extentCellMap = 497new KeyToListMap<EntitySetBase, Cell>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (8)
58EntitySetBase entity, 225Set<EntitySetBase> mappedExtents = new Set<EntitySetBase>(); 239List<EntitySetBase> missingExtents = new List<EntitySetBase>(); 242foreach (EntitySetBase extent in container.BaseEntitySets) 260foreach (EntitySetBase extent in missingExtents) 299private static bool DoesCellGroupContainEntitySet(CellGroup group, EntitySetBase entity)
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (4)
28m_views = new KeyToListMap<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default); 34private KeyToListMap<EntitySetBase, GeneratedView> m_views; 40internal KeyToListMap<EntitySetBase, GeneratedView> Views
System\Data\Mapping\ViewValidator.cs (1)
243EntitySetBase target = expression.Target;
System\Data\Metadata\Edm\EntityContainer.cs (6)
37_baseEntitySets = new ReadOnlyMetadataCollection<EntitySetBase>(new EntitySetBaseCollection(this)); 44private readonly ReadOnlyMetadataCollection<EntitySetBase> _baseEntitySets; 81public ReadOnlyMetadataCollection<EntitySetBase> BaseEntitySets 143EntitySetBase baseEntitySet = null; 184EntitySetBase baseEntitySet = null; 206internal void AddEntitySetBase(EntitySetBase entitySetBase)
System\Data\Metadata\Edm\EntitySetBaseCollection.cs (6)
24internal sealed class EntitySetBaseCollection : MetadataCollection<EntitySetBase> 46internal EntitySetBaseCollection(EntityContainer entityContainer, IEnumerable<EntitySetBase> items) 66public override EntitySetBase this[int index] 86public override EntitySetBase this[string identity] 108public override void Add(EntitySetBase item) 124private static void ThrowIfItHasEntityContainer(EntitySetBase entitySet, string argumentName)
System\Data\Metadata\Helper.cs (2)
309internal static bool IsEntitySet(EntitySetBase entitySetBase) 314internal static bool IsRelationshipSet(EntitySetBase entitySetBase)
System\Data\Metadata\MappingMetadataHelper.cs (4)
24internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType) 45internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndSuperTypes(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase childEntityType) 58private static IEnumerable<StorageTypeMapping> GetIsTypeOfMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType, EntityTypeBase childEntityType) 69internal static IEnumerable<StorageEntityTypeModificationFunctionMapping> GetModificationFunctionMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType)
System\Data\Metadata\MetadataWorkspace.cs (7)
1176internal DbQueryCommandTree GetCqtView(EntitySetBase extent) 1184internal GeneratedView GetGeneratedView(EntitySetBase extent) 1195internal bool TryGetGeneratedViewOfType(EntitySetBase extent, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView) 1394public IEnumerable<EdmMember> GetRequiredOriginalValueMembers(EntitySetBase entitySet, EntityTypeBase entityType) 1412public ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate(EntitySetBase entitySet, EntityTypeBase entityType, bool partialUpdateSupported) 1429private ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, StorageMappingItemCollection.InterestingMembersKind interestingMembersKind) 1431EntityUtil.CheckArgumentNull<EntitySetBase>(entitySet, "entitySet");
System\Data\Metadata\Perspective.cs (1)
79internal bool TryGetExtent(EntityContainer entityContainer, String extentName, bool ignoreCase, out EntitySetBase outSet)
System\Data\Metadata\TypeHelpers.cs (1)
675internal static string GetFullName(EntitySetBase entitySet)
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
2344foreach (EntitySetBase set in entitySet.EntityContainer.BaseEntitySets) 2431foreach (EntitySetBase entitySetBase in entitySet.EntityContainer.BaseEntitySets)
System\Data\Objects\ObjectContext.cs (3)
1334foreach (EntitySetBase es in container.BaseEntitySets) 1722EntitySetBase actualEntitySet = cacheEntry.EntitySet; 1772EntitySetBase actualEntitySet = cacheEntry.EntitySet;
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (2)
177internal ObjectQuery (EntitySetBase entitySet, ObjectContext context, MergeOption mergeOption) 194private static string BuildScanEntitySetEsql(EntitySetBase entitySet)
System\Data\Objects\ObjectStateEntry.cs (2)
35internal EntitySetBase _entitySet; 69public EntitySetBase EntitySet
System\Data\Query\InternalTrees\Command.cs (2)
318internal static TableMD CreateTableDefinition(EntitySetBase extent) 343internal TableMD CreateFlatTableDefinition(IEnumerable<EdmProperty> properties, IEnumerable<EdmMember> keyMembers, EntitySetBase entitySet)
System\Data\Query\InternalTrees\Metadata.cs (5)
27private EntitySetBase m_extent; // null for transient tables 34private TableMD(EntitySetBase extent) 49internal TableMD(TypeUsage type, EntitySetBase extent) 70EntitySetBase extent) 99internal EntitySetBase Extent { get { return m_extent; } }
System\Data\Query\PlanCompiler\ConstraintManager.cs (9)
47internal md.EntitySetBase Left { get { return m_left; } } 52internal md.EntitySetBase Right { get { return m_right; } } 76internal ExtentPair(md.EntitySetBase left, md.EntitySetBase right) 84private md.EntitySetBase m_left; 85private md.EntitySetBase m_right; 213internal bool IsParentChildRelationship(md.EntitySetBase table1, md.EntitySetBase table2, 236foreach (md.EntitySetBase e in entityContainer.BaseEntitySets)
System\Data\Query\PlanCompiler\JoinGraph.cs (3)
1743Dictionary<md.EntitySetBase, List<JoinEdge>> groupedEdges = new Dictionary<md.EntitySetBase, List<JoinEdge>>(); 1763foreach (KeyValuePair<md.EntitySetBase, List<JoinEdge>> kv in groupedEdges)
System\Data\Query\PlanCompiler\PreProcessor.cs (15)
135private readonly Dictionary<EntitySetBase, DiscriminatorMapInfo> m_discriminatorMaps = new Dictionary<EntitySetBase, DiscriminatorMapInfo>(); 248foreach (EntitySetBase set in entityContainer.BaseEntitySets) 277foreach (EntitySetBase baseSet in container.BaseEntitySets) 308EntitySetBase entitySet = scanTableOp.Table.TableMetadata.Extent; 402private void DetermineDiscriminatorMapUsage(Node viewNode, EntitySetBase entitySet, EntityTypeBase rootEntityType, bool includeSubtypes) 574private Node BuildOfTypeTable(EntitySetBase entitySet, TypeUsage ofType, out Var resultVar) 675private static EntitySetBase FindTargetEntitySet(RelationshipSet relationshipSet, RelationshipEndMember targetEnd) 677EntitySetBase entitySet = null; 712EntitySetBase entitySet = FindTargetEntitySet(relSet, end); 847EntitySetBase entitySet = FindTargetEntitySet(r, relProperty.ToEnd); 1548private RelationshipSet FindRelationshipSet(EntitySetBase entitySet, RelProperty relProperty) 1550foreach (EntitySetBase es in entitySet.EntityContainer.BaseEntitySets) 1644private Node BuildRelPropertyExpression(EntitySetBase entitySet, RelProperty relProperty, 1706private IEnumerable<Node> BuildAllRelPropertyExpressions(EntitySetBase entitySet,
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (8)
106private Dictionary<md.EntitySetBase, ExplicitDiscriminatorMap> m_discriminatorMaps; 145Dictionary<md.EntitySetBase, DiscriminatorMapInfo> discriminatorMaps, 167Dictionary<md.EntitySetBase, DiscriminatorMapInfo> discriminatorMaps, 335private void ProcessDiscriminatorMaps(Dictionary<md.EntitySetBase, DiscriminatorMapInfo> discriminatorMaps) 340Dictionary<md.EntitySetBase, ExplicitDiscriminatorMap> filteredMaps = null; 343filteredMaps = new Dictionary<md.EntitySetBase, ExplicitDiscriminatorMap>(discriminatorMaps.Count, discriminatorMaps.Comparer); 344foreach (KeyValuePair<md.EntitySetBase, DiscriminatorMapInfo> setMapPair in discriminatorMaps) 346md.EntitySetBase set = setMapPair.Key;
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
376EntitySetBase table = ((DbScanExpression)tree.Target.Expression).Target;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
1242EntitySetBase target = e.Target; 1267internal static string GetTargetTSql(EntitySetBase entitySetBase)
System.Data.Entity.Design (21)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
686foreach (EntitySetBase set in container.BaseEntitySets)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
305internal static bool IsEntitySet(EntitySetBase entitySetBase)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (3)
330foreach (EntitySetBase storeSet in _storeEntityContainer.BaseEntitySets) 663foreach (EntitySetBase storeSet in _storeEntityContainer.BaseEntitySets) 690foreach(EntitySetBase type in _storeEntityContainer.BaseEntitySets)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (12)
184Dictionary<EntitySetBase, string> generatedViews; 230Dictionary<EntitySetBase, string> generatedViews; 273private bool GetViewsWithErrors(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 284private void GetViewsAndCodeDomProvider(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 304out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 333Dictionary<EntitySetBase, string> generatedViews, TextWriter sourceWriter, CodeDomProvider provider, IList<EdmSchemaError> schemaErrors) 442foreach (EntitySetBase extent in storageEntityContainerMapping.EdmEntityContainer.BaseEntitySets) 452private static Dictionary<string, string> GenerateDictionaryForEntitySetNameAndView(Dictionary<EntitySetBase, string> dictionary) 483private static void CreateAndAddGetViewAtMethod(CodeTypeDeclaration typeDeclaration, Dictionary<EntitySetBase, string> generatedViews) 503foreach (KeyValuePair<EntitySetBase, string> generatedViewPair in generatedViews) 519EntitySetBase entitySet = generatedViewPair.Key; 641private static string GetExtentFullName(EntitySetBase entitySet)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
259foreach (EntitySetBase entitySetBase in item.BaseEntitySets)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
86foreach (EntitySetBase entitySetBase in Item.BaseEntitySets) 99foreach (EntitySetBase entitySetBase in Item.BaseEntitySets) 177foreach (EntitySetBase entitySetBase in Item.BaseEntitySets)
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
729EntitySetBase entitySet = this.GetEntitySet(containerName); 872foreach (EntitySetBase entitySetBase in entityContainer.BaseEntitySets) 2662foreach (EntitySetBase set in container.BaseEntitySets)
System.Data.Services.Design (16)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (13)
33internal static bool IsEntitySet(EntitySetBase entitySetBase) 415foreach (EntitySetBase entitySetBase in item.BaseEntitySets) 536EntitySetBase baseEntitySet = container.BaseEntitySets.FirstOrDefault(); 696private static string Identity(EntitySetBase entitySet) 722EntitySetBase entitySet = this.GetUniqueEntitySetForType((EntityType)eventArgs.TypeSource); 838private EntitySetBase GetUniqueEntitySetForType(EntityType entityType) 840HashSet<EntitySetBase> entitySets = new HashSet<EntitySetBase>(EqualityComparerEntitySet.Default); 845foreach (EntitySetBase es in container.BaseEntitySets 870public class EqualityComparerEntitySet : IEqualityComparer<EntitySetBase> 890public bool Equals(EntitySetBase x, EntitySetBase y) 899public int GetHashCode(EntitySetBase obj)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
95foreach (EntitySetBase entitySetBase in Item.BaseEntitySets) 108foreach (EntitySetBase entitySetBase in Item.BaseEntitySets) 143foreach (EntitySetBase entitySetBase in Item.BaseEntitySets)
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
890internal static string CreateEntitySqlSetIdentifier(EntitySetBase set)
System\Data\WebControls\EntityDataSourceView.cs (1)
407var elementEntitySet = Context.ObjectStateManager.GetObjectStateEntry(element).EntitySet;
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
1303foreach (EntitySetBase entitySetBase in entityContainer.BaseEntitySets)