2 writes to ParserCompilationMode
System.Data.Entity (2)
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (2)
44
parserOptions.
ParserCompilationMode
= compilationMode;
62
parserOptions.
ParserCompilationMode
= compilationMode;
14 references to ParserCompilationMode
System.Data.Entity (14)
System\Data\Common\EntitySql\ParserOptions.cs (1)
59
return this.
ParserCompilationMode
== CompilationMode.RestrictedViewGenerationMode ? false : true;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (13)
307
if (sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.NormalMode)
885
(sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode ||
886
sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.UserViewGenerationMode))
1001
if (!(sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode ||
1002
sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.UserViewGenerationMode))
1373
if (ParserOptions.CompilationMode.RestrictedViewGenerationMode == sr.ParserOptions.
ParserCompilationMode
||
1374
ParserOptions.CompilationMode.UserViewGenerationMode == sr.ParserOptions.
ParserCompilationMode
)
2718
bool isRestrictedViewGenerationMode = (ParserOptions.CompilationMode.RestrictedViewGenerationMode == sr.ParserOptions.
ParserCompilationMode
);
3373
Debug.Assert((sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode) ? null == groupByClause : true, "GROUP BY clause must be null in RestrictedViewGenerationMode");
4051
Debug.Assert((sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode) ? null == queryExpr.OrderByClause : true, "ORDER BY clause must be null in RestrictedViewGenerationMode");
4891
bool isNominalTypeAllowed = sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode;
4967
bool isNominalTypeAllowed = sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode;
5073
bool isNominalTypeAllowed = sr.ParserOptions.
ParserCompilationMode
== ParserOptions.CompilationMode.RestrictedViewGenerationMode;