3 instantiations of GeneratedView
System.Data.Entity (3)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (3)
61
return new
GeneratedView
(extent, type, commandTree, eSQL, discriminatorMap, mappingItemCollection, config);
74
return new
GeneratedView
(extent, type, commandTree, null, null, mappingItemCollection, config);
128
generatedView = 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)
206
Dictionary<EntitySetBase,
GeneratedView
> userDefinedQueryViewsDict;
207
Dictionary<OfTypeQVCacheKey,
GeneratedView
> userDefinedQueryViewsOfTypeDict;
430
KeyToListMap<EntitySetBase,
GeneratedView
> extentMappingViews = viewGenResults.Views;
431
foreach (KeyValuePair<EntitySetBase, List<
GeneratedView
>> extentViewPair in extentMappingViews.KeyValuePairs)
433
List<
GeneratedView
> generatedViews = extentViewPair.Value;
696
internal
GeneratedView
GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace)
733
Dictionary<EntitySetBase,
GeneratedView
> userDefinedQueryViewsDict,
734
Dictionary<OfTypeQVCacheKey,
GeneratedView
> userDefinedQueryViewsOfTypeDict,
787
Dictionary<EntitySetBase,
GeneratedView
> userDefinedQueryViewsDict,
788
Dictionary<OfTypeQVCacheKey,
GeneratedView
> userDefinedQueryViewsOfTypeDict,
796
GeneratedView
generatedView;
800
if (
GeneratedView
.TryParseUserSpecifiedView(setMapping,
818
if (
GeneratedView
.TryParseUserSpecifiedView(setMapping,
883
internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out
GeneratedView
generatedView)
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (32)
28
internal delegate bool TryGetUserDefinedQueryView(EntitySetBase extent, out
GeneratedView
generatedView);
29
internal delegate bool TryGetUserDefinedQueryViewOfType(OfTypeQVCacheKey extent, out
GeneratedView
generatedView);
50
private readonly Memoizer<EntityContainer, Dictionary<EntitySetBase,
GeneratedView
>> m_generatedViewsMemoizer;
54
private readonly Memoizer<OfTypeQVCacheKey,
GeneratedView
> m_generatedViewOfTypeMemoizer;
57
out Dictionary<EntitySetBase,
GeneratedView
> userDefinedQueryViewsDict,
58
out Dictionary<OfTypeQVCacheKey,
GeneratedView
> userDefinedQueryViewsOfTypeDict)
61
this.m_generatedViewsMemoizer = new Memoizer<EntityContainer, Dictionary<EntitySetBase,
GeneratedView
>>(SerializedGetGeneratedViews, null);
62
this.m_generatedViewOfTypeMemoizer = new Memoizer<OfTypeQVCacheKey,
GeneratedView
>(SerializedGeneratedViewOfType, OfTypeQVCacheKey.PairComparer.Instance);
64
userDefinedQueryViewsDict = new Dictionary<EntitySetBase,
GeneratedView
>(EqualityComparer<EntitySetBase>.Default);
65
userDefinedQueryViewsOfTypeDict = new Dictionary<OfTypeQVCacheKey,
GeneratedView
>(OfTypeQVCacheKey.PairComparer.Instance);
71
private Dictionary<EntitySetBase,
GeneratedView
> SerializedGetGeneratedViews(EntityContainer container)
76
Dictionary<EntitySetBase,
GeneratedView
> extentMappingViews;
90
extentMappingViews = new Dictionary<EntitySetBase,
GeneratedView
>();
128
private void SerializedGenerateViews(StorageEntityContainerMapping entityContainerMap, Dictionary<EntitySetBase,
GeneratedView
> resultDictionary)
134
KeyToListMap<EntitySetBase,
GeneratedView
> extentMappingViews = viewGenResults.Views;
141
foreach (KeyValuePair<EntitySetBase, List<
GeneratedView
>> keyValuePair in extentMappingViews.KeyValuePairs)
146
GeneratedView
generatedView;
161
private bool TryGenerateQueryViewOfType(EntityContainer entityContainer, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out
GeneratedView
generatedView)
185
KeyToListMap<EntitySetBase,
GeneratedView
> extentMappingViews = viewGenResults.Views;
205
internal bool TryGetGeneratedViewOfType(MetadataWorkspace workspace, EntitySetBase entity, EntityTypeBase type, bool includeSubtypes, out
GeneratedView
generatedView)
216
private
GeneratedView
SerializedGeneratedViewOfType(OfTypeQVCacheKey arg)
218
GeneratedView
generatedView;
262
internal
GeneratedView
GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace, StorageMappingItemCollection storageMappingItemCollection)
266
GeneratedView
view;
347
return
GeneratedView
.CreateGeneratedViewForFKAssociationSet(aSet, aSet.ElementType, new DbQueryCommandTree(workspace, DataSpace.SSpace, qView), storageMappingItemCollection, m_config);
352
Dictionary<EntitySetBase,
GeneratedView
> generatedViews = m_generatedViewsMemoizer.Evaluate(extent.EntityContainer);
368
private void SerializedCollectViewsFromObjectCollection(MetadataWorkspace workspace, Dictionary<EntitySetBase,
GeneratedView
> extentMappingViews)
406
private void SerializedAddGeneratedViewsInEntityViewContainer(MetadataWorkspace workspace, EntityViewContainer entityViewContainer, Dictionary<EntitySetBase,
GeneratedView
> extentMappingViews)
485
private void SerializedAddGeneratedViews(MetadataWorkspace workspace, EntityViewContainer viewContainer, Dictionary<EntitySetBase,
GeneratedView
> extentMappingViews)
518
GeneratedView
generatedView;
522
generatedView =
GeneratedView
.CreateGeneratedView(
539
private void SerializedCollectViewsFromReferencedAssemblies(MetadataWorkspace workspace, Dictionary<EntitySetBase,
GeneratedView
> extentMappingViews)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (4)
35
internal static
GeneratedView
CreateGeneratedView(EntitySetBase extent,
68
internal static
GeneratedView
CreateGeneratedViewForFKAssociationSet(EntitySetBase extent,
88
out
GeneratedView
generatedView)
95
if (!
GeneratedView
.TryParseView(eSQL, true, setMapping.Set, mappingItemCollection, config, out commandTree, out discriminatorMap, out parserException))
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (3)
25
using ViewSet = KeyToListMap<EntitySetBase,
GeneratedView
>;
450
GeneratedView
generatedView =
GeneratedView
.CreateGeneratedView(context.Extent, generatedType, commandTree, eSQLView, m_entityContainerMapping.StorageMappingItemCollection, m_config);
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (3)
28
m_views = new KeyToListMap<EntitySetBase,
GeneratedView
>(EqualityComparer<EntitySetBase>.Default);
34
private KeyToListMap<EntitySetBase,
GeneratedView
> m_views;
40
internal KeyToListMap<EntitySetBase,
GeneratedView
> Views
System\Data\Metadata\MetadataWorkspace.cs (2)
1184
internal
GeneratedView
GetGeneratedView(EntitySetBase extent)
1195
internal bool TryGetGeneratedViewOfType(EntitySetBase extent, EntityTypeBase type, bool includeSubtypes, out
GeneratedView
generatedView)
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
331
System.Data.Mapping.ViewGeneration.
GeneratedView
definingQuery = null;