59 references to TranslateExpression
System.Data.Entity (59)
System\Data\Objects\ELinq\ExpressionConverter.cs (6)
236
DbExpression result = this.
TranslateExpression
(_expression);
827
DbExpression result =
TranslateExpression
(lambda.Body);
901
return NormalizeSetSource(
TranslateExpression
(linq));
1371
DbExpression translatedPatternExpression = this.
TranslateExpression
(patternExpression);
1372
DbExpression translatedInputExpression = this.
TranslateExpression
(inputExpression);
1458
translatedArguments[i] =
TranslateExpression
(linqArguments[i]);
System\Data\Objects\ELinq\MethodCallTranslator.cs (30)
435
CqtExpression queryExpression = parent.
TranslateExpression
(call.Object);
441
CqtExpression arg = parent.
TranslateExpression
(call.Arguments[0]);
488
CqtExpression queryExpression = parent.
TranslateExpression
(inputQuery);
510
DbExpression queryExpression = parent.
TranslateExpression
(inputQuery);
606
var arguments = call.Arguments.Select(a => UnwrapNoOpConverts(a)).Select(b => NormalizeAllSetSources(parent, parent.
TranslateExpression
(b))).ToList();
891
DbExpression argument = parent.
TranslateExpression
(call.Arguments[0]);
947
DbExpression arg1 = parent.
TranslateExpression
(call.Arguments[0]);
948
DbExpression arg2 = parent.
TranslateExpression
(call.Arguments[1]);
1108
DbExpression arg1 = parent.
TranslateExpression
(call.Arguments[0]);
1110
DbExpression target = parent.
TranslateExpression
(call.Object);
1121
length = parent.
TranslateExpression
(call.Arguments[1]);
1147
DbExpression thisString = parent.
TranslateExpression
(call.Object);
1148
DbExpression arg1 = parent.
TranslateExpression
(call.Arguments[0]);
1161
CqtExpression arg2 = parent.
TranslateExpression
(call.Arguments[1]);
1227
DbExpression thisString = parent.
TranslateExpression
(call.Object);
1228
DbExpression arg1 = parent.
TranslateExpression
(call.Arguments[0]);
1244
DbExpression arg2 = parent.
TranslateExpression
(call.Arguments[1]);
1270
DbExpression value = parent.
TranslateExpression
(call.Arguments[0]);
1302
CqtExpression result = parent.
TranslateExpression
(call.Arguments[0]);
1308
parent.
TranslateExpression
(call.Arguments[argIndex]));
1544
CqtExpression count = parent.
TranslateExpression
(linqCount);
1645
CqtExpression selector = parent.
TranslateExpression
(selectorLambda.Body);
2118
source = parent.
TranslateExpression
(call.Arguments[0]);
2181
parent.
TranslateExpression
(call.Arguments[1]) :
2217
parent.
TranslateExpression
(Expression.Constant(defaultValue, elementType));
2243
DbExpression source = parent.NormalizeSetSource(parent.
TranslateExpression
(sourceExpression));
2244
DbExpression value = parent.
TranslateExpression
(valueExpression);
2829
CqtExpression resultSelector = parent.
TranslateExpression
(
2903
CqtExpression selectorProject = parent.
TranslateExpression
(linqSelector.Body);
3031
CqtExpression lambda = parent.
TranslateExpression
(lambdaExpression.Body);
System\Data\Objects\ELinq\Translator.cs (23)
95
return parent.
TranslateExpression
(Expression.NewArrayInit(elementType, expressions));
172
DbExpression instance = parent.
TranslateExpression
(linq.Expression);
390
return parent.
TranslateExpression
(countCall);
666
DbExpression argument = parent.
TranslateExpression
(call.Expression);
686
DbExpression argument = parent.
TranslateExpression
(call.Expression);
730
DbExpression memberValue = parent.
TranslateExpression
(linq.Arguments[i]);
764
return DbExpressionBuilder.NewCollection(linq.Expressions.Select(e => parent.
TranslateExpression
(e)));
806
return DbExpressionBuilder.NewCollection(linq.Initializers.Select(i => parent.
TranslateExpression
(i.Arguments[0])));
840
DbExpression memberValue = parent.
TranslateExpression
(binding.Expression);
874
whenExpressions.Add(parent.
TranslateExpression
(linq.Test));
876
thenExpressions.Add(parent.
TranslateExpression
(linq.IfTrue));
877
DbExpression elseExpression = parent.
TranslateExpression
(linq.IfFalse);
920
return TranslateBinary(parent, parent.
TranslateExpression
(linq.Left), parent.
TranslateExpression
(linq.Right), linq);
1021
DbExpression cqtLeft = parent.
TranslateExpression
(linqLeft);
1022
DbExpression cqtRight = parent.
TranslateExpression
(linqRight);
1035
DbExpression inputCqt = parent.
TranslateExpression
(input);
1069
return parent.
TranslateExpression
(notLinq);
1081
DbExpression operand = parent.
TranslateExpression
(linq.Expression);
1178
DbExpression left = parent.
TranslateExpression
(linq.Left);
1179
DbExpression right = parent.
TranslateExpression
(linq.Right);
1229
DbExpression operand = parent.
TranslateExpression
(linq.Operand);
1247
return TranslateUnary(parent, linq, parent.
TranslateExpression
(linq.Operand));