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