17 references to ViewGenMode
System.Data.Entity (17)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (5)
65
ViewGenMode
_typesGenerationMode;
77
internal QueryRewriter(EdmType generatedType, ViewgenContext context,
ViewGenMode
typesGenerationMode)
79
Debug.Assert(typesGenerationMode !=
ViewGenMode
.GenerateAllViews);
212
if (_typesGenerationMode ==
ViewGenMode
.OfTypeOnlyViews)
313
if (_typesGenerationMode ==
ViewGenMode
.OfTypeOnlyViews)
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (9)
168
internal ErrorLog GenerateQueryViewForSingleExtent(ViewSet views, CqlIdentifiers identifiers, EntitySetBase entity, EntityTypeBase type,
ViewGenMode
mode)
170
Debug.Assert(mode !=
ViewGenMode
.GenerateAllViews);
242
private ErrorLog GenerateQueryViewForExtentAndType(StorageEntityContainerMapping entityContainerMapping, CqlIdentifiers identifiers, ViewSet views, EntitySetBase entity, EntityTypeBase type,
ViewGenMode
mode)
244
Debug.Assert(mode !=
ViewGenMode
.GenerateAllViews);
254
(mode ==
ViewGenMode
.OfTypeViews) ? "OfType" : "OfTypeOnly",
363
queryRewriter = GenerateViewsForExtentAndType(type, context, identifiers, views,
ViewGenMode
.OfTypeViews);
369
queryRewriter = GenerateViewsForExtentAndType(extent.ElementType, context, identifiers, views,
ViewGenMode
.OfTypeViews);
403
private QueryRewriter GenerateViewsForExtentAndType(EdmType generatedType, ViewgenContext context, CqlIdentifiers identifiers, ViewSet views,
ViewGenMode
mode)
406
Debug.Assert(mode !=
ViewGenMode
.GenerateAllViews, "By definition this method can not handle generating views for all extents");
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (3)
137
ViewGenMode
mode = includeSubtypes ?
ViewGenMode
.OfTypeViews :
ViewGenMode
.OfTypeOnlyViews;