13 references to Variables
System.Data.Entity (13)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
185
IList<DbVariableReferenceExpression> newFormals = this.VisitList(lambda.
Variables
, varRef =>
202
if (!object.ReferenceEquals(lambda.
Variables
, newFormals) ||
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
1513
RequireCompatibleType(exp, lambda.
Variables
[idx].ResultType, "arguments", idx);
1518
argValidator.ExpectedElementCount = lambda.
Variables
.Count;
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
344
Dump(System.Linq.Enumerable.Cast<DbExpression>(lambda.
Variables
), "Variables", "Variable");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
322
foreach (var v in expression.Lambda.
Variables
)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
540
AppendParameters(lambdaInfo, expression.Lambda.
Variables
.Select(v => new KeyValuePair<string, TypeUsage>(v.VariableName, v.ResultType)));
541
AppendArguments(lambdaInfo, expression.Lambda.
Variables
.Select(v => v.VariableName).ToArray(), expression.Arguments);
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
331
Debug.Assert(lambda.
Variables
.Count == args.Count, "DbLambdaExpression argument count does not match Lambda parameter count");
System\Data\Objects\Internal\EntitySqlQueryState.cs (2)
265
Debug.Assert(lambda.
Variables
== null || lambda.
Variables
.Count == 0, "lambda.Variables must be empty");
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
450
rewritten = DbLambda.Create(rewritten, lambdaExpression.Lambda.
Variables
).Invoke(lambdaExpression.Arguments);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
878
IList<DbVariableReferenceExpression> lambdaParams = lambda.
Variables
;