24 instantiations of ValueExpression
System.Data.Entity (24)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (19)
611
return new
ValueExpression
(null);
615
return new
ValueExpression
(DbExpressionBuilder.Constant(GetLiteralTypeUsage(literal), literal.Value));
703
return new
ValueExpression
(converted);
774
return new
ValueExpression
(converted);
963
inlineFunctionCall = new
ValueExpression
(DbExpressionBuilder.Invoke(overload.GetLambda(sr), args));
1034
return new
ValueExpression
(CreateConstructorCallExpression(methodExpr,
1056
return new
ValueExpression
(ConvertAggregateFunctionInGroupScope(methodExpr, metadataFunctionGroup, sr));
1063
return new
ValueExpression
(CreateModelFunctionCallExpression(methodExpr, metadataFunctionGroup, sr));
1544
return new
ValueExpression
(paramRef);
1790
return new
ValueExpression
(converted);
1816
return new
ValueExpression
(converted);
1844
return new
ValueExpression
(converted);
1933
return new
ValueExpression
(converted);
1957
return new
ValueExpression
(converted);
1973
return new
ValueExpression
(builtInConverter(bltInExpr, sr));
2566
return new
ValueExpression
(DbExpressionBuilder.New(TypeHelpers.CreateRowTypeUsage(rowColumns, true /* readOnly */), fieldExprs));
2617
return new
ValueExpression
(DbExpressionBuilder.New(TypeHelpers.CreateCollectionTypeUsage(commonType, true /* readOnly */), mSetExprs));
2706
return new
ValueExpression
(DbExpressionBuilder.Case(whenExprList, thenExprList, elseExpr));
2785
return new
ValueExpression
(converted);
System\Data\Common\EntitySql\SemanticResolver.cs (5)
498
return new
ValueExpression
(GetExpressionFromScopeEntry(scopeEntry, scopeIndex, name, errCtx));
592
return new
ValueExpression
(propertyExpr);
597
return new
ValueExpression
(propertyExpr);
685
resolution = new
ValueExpression
(entitySetBase.Scan());
763
groupKeyResolution = new
ValueExpression
(GetExpressionFromScopeEntry(scopeEntry, scopeIndex, TypeResolver.GetFullName(names), dotExpr.ErrCtx));
18 references to ValueExpression
System.Data.Entity (18)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (15)
507
/// Converts general expressions (AST.Node) to a <see cref="
ValueExpression
"/>.
508
/// Returns <see cref="
ValueExpression
.Value"/>.
509
/// Throws if conversion resulted an a non <see cref="
ValueExpression
"/> resolution.
523
/// Converts general expressions (AST.Node) to a <see cref="
ValueExpression
"/>.
524
/// Returns <see cref="
ValueExpression
.Value"/>.
526
/// Throws if conversion resulted an a non <see cref="
ValueExpression
"/> resolution.
533
return ((
ValueExpression
)resolution).Value;
549
string errorMessage = Strings.InvalidExpressionResolutionClass(resolution.ExpressionClassName,
ValueExpression
.ValueClassName);
652
ValueExpression
groupKeyResolution;
677
return sr.ResolvePropertyAccess(((
ValueExpression
)leftResolution).Value, dotExpr.Identifier.Name, dotExpr.Identifier.ErrCtx);
822
ValueExpression
inlineFunctionCall;
902
/// Attempts to create a <see cref="
ValueExpression
"/> representing the inline function call.
911
out
ValueExpression
inlineFunctionCall)
967
private static
ValueExpression
ConvertTypeConstructorCall(MetadataType metadataType, AST.MethodExpr methodExpr, SemanticResolver sr)
1041
private static
ValueExpression
ConvertModelFunctionCall(MetadataFunctionGroup metadataFunctionGroup, AST.MethodExpr methodExpr, SemanticResolver sr)
System\Data\Common\EntitySql\SemanticResolver.cs (3)
70
/// Null if <see cref="
ValueExpression
"/> represents the untyped null.
586
internal
ValueExpression
ResolvePropertyAccess(DbExpression valueExpr, string name, ErrorContext errCtx)
739
internal bool TryResolveDotExprAsGroupKeyAlternativeName(AST.DotExpr dotExpr, out
ValueExpression
groupKeyResolution)