3 instantiations of GeneratedView
System.Data.Entity (3)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (3)
61return new GeneratedView(extent, type, commandTree, eSQL, discriminatorMap, mappingItemCollection, config); 74return new GeneratedView(extent, type, commandTree, null, null, mappingItemCollection, config); 128generatedView = new GeneratedView(setMapping.Set, type, commandTree, eSQL, discriminatorMap, mappingItemCollection, config);
60 references to GeneratedView
System.Data.Entity (60)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
397/// by the <see cref="System.Data.Mapping.ViewGeneration.GeneratedView"/> class and so allows a <see cref="System.Data.Mapping.ViewGeneration.DiscriminatorMap"/>
System\Data\Mapping\StorageMappingItemCollection.cs (14)
206Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict; 207Dictionary<OfTypeQVCacheKey, GeneratedView> userDefinedQueryViewsOfTypeDict; 430KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views; 431foreach (KeyValuePair<EntitySetBase, List<GeneratedView>> extentViewPair in extentMappingViews.KeyValuePairs) 433List<GeneratedView> generatedViews = extentViewPair.Value; 696internal GeneratedView GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace) 733Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 734Dictionary<OfTypeQVCacheKey, GeneratedView> userDefinedQueryViewsOfTypeDict, 787Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 788Dictionary<OfTypeQVCacheKey, GeneratedView> userDefinedQueryViewsOfTypeDict, 796GeneratedView generatedView; 800if (GeneratedView.TryParseUserSpecifiedView(setMapping, 818if (GeneratedView.TryParseUserSpecifiedView(setMapping, 883internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView)
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (32)
28internal delegate bool TryGetUserDefinedQueryView(EntitySetBase extent, out GeneratedView generatedView); 29internal delegate bool TryGetUserDefinedQueryViewOfType(OfTypeQVCacheKey extent, out GeneratedView generatedView); 50private readonly Memoizer<EntityContainer, Dictionary<EntitySetBase, GeneratedView>> m_generatedViewsMemoizer; 54private readonly Memoizer<OfTypeQVCacheKey, GeneratedView> m_generatedViewOfTypeMemoizer; 57out Dictionary<EntitySetBase, GeneratedView> userDefinedQueryViewsDict, 58out Dictionary<OfTypeQVCacheKey, GeneratedView> userDefinedQueryViewsOfTypeDict) 61this.m_generatedViewsMemoizer = new Memoizer<EntityContainer, Dictionary<EntitySetBase, GeneratedView>>(SerializedGetGeneratedViews, null); 62this.m_generatedViewOfTypeMemoizer = new Memoizer<OfTypeQVCacheKey, GeneratedView>(SerializedGeneratedViewOfType, OfTypeQVCacheKey.PairComparer.Instance); 64userDefinedQueryViewsDict = new Dictionary<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default); 65userDefinedQueryViewsOfTypeDict = new Dictionary<OfTypeQVCacheKey, GeneratedView>(OfTypeQVCacheKey.PairComparer.Instance); 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) 146GeneratedView generatedView; 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) 216private GeneratedView SerializedGeneratedViewOfType(OfTypeQVCacheKey arg) 218GeneratedView generatedView; 262internal GeneratedView GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace, StorageMappingItemCollection storageMappingItemCollection) 266GeneratedView view; 347return GeneratedView.CreateGeneratedViewForFKAssociationSet(aSet, aSet.ElementType, new DbQueryCommandTree(workspace, DataSpace.SSpace, qView), storageMappingItemCollection, m_config); 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) 518GeneratedView generatedView; 522generatedView = GeneratedView.CreateGeneratedView( 539private void SerializedCollectViewsFromReferencedAssemblies(MetadataWorkspace workspace, Dictionary<EntitySetBase, GeneratedView> extentMappingViews)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (4)
35internal static GeneratedView CreateGeneratedView(EntitySetBase extent, 68internal static GeneratedView CreateGeneratedViewForFKAssociationSet(EntitySetBase extent, 88out GeneratedView generatedView) 95if (!GeneratedView.TryParseView(eSQL, true, setMapping.Set, mappingItemCollection, config, out commandTree, out discriminatorMap, out parserException))
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (3)
25using ViewSet = KeyToListMap<EntitySetBase, GeneratedView>; 450GeneratedView generatedView = GeneratedView.CreateGeneratedView(context.Extent, generatedType, commandTree, eSQLView, m_entityContainerMapping.StorageMappingItemCollection, m_config);
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (3)
28m_views = new KeyToListMap<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default); 34private KeyToListMap<EntitySetBase, GeneratedView> m_views; 40internal KeyToListMap<EntitySetBase, GeneratedView> Views
System\Data\Metadata\MetadataWorkspace.cs (2)
1184internal GeneratedView GetGeneratedView(EntitySetBase extent) 1195internal bool TryGetGeneratedViewOfType(EntitySetBase extent, EntityTypeBase type, bool includeSubtypes, out GeneratedView generatedView)
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
331System.Data.Mapping.ViewGeneration.GeneratedView definingQuery = null;