2 instantiations of DbLambda
System.Data.Entity (2)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
234
return new
DbLambda
(validVars, body);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3914
DbLambda gpExpressionLambda = new
DbLambda
(gpExpressionLambdaVariables, ((GroupPartitionInfo)groupAggregateInfo).AggregateDefinition);
94 references to DbLambda
System.Data.Entity (94)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
96
protected virtual void VisitLambdaPre(
DbLambda
lambda)
105
protected virtual void VisitLambdaPost(
DbLambda
lambda)
System\Data\Common\CommandTrees\DbLambda.cs (36)
50
/// Creates a <see cref="
DbLambda
"/> with the specified inline Lambda function implementation and formal parameters.
64
public static
DbLambda
Create(DbExpression body, IEnumerable<DbVariableReferenceExpression> variables)
70
/// Creates a <see cref="
DbLambda
"/> with the specified inline Lambda function implementation and formal parameters.
84
public static
DbLambda
Create(DbExpression body, params DbVariableReferenceExpression[] variables)
90
/// Creates a new <see cref="
DbLambda
"/> with a single argument of the specified type, as defined by the specified function.
98
public static
DbLambda
Create(TypeUsage argument1Type, Func<DbExpression, DbExpression> lambdaFunction)
110
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
120
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, Func<DbExpression, DbExpression, DbExpression> lambdaFunction)
133
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
144
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, Func<DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
158
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
170
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
185
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
198
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
214
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
229
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
246
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
262
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
280
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
297
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
316
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
335
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
355
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
375
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
396
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
417
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
439
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
462
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, TypeUsage argument12Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
485
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
509
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, TypeUsage argument12Type, TypeUsage argument13Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
533
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
558
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, TypeUsage argument12Type, TypeUsage argument13Type, TypeUsage argument14Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
583
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
610
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, TypeUsage argument12Type, TypeUsage argument13Type, TypeUsage argument14Type, TypeUsage argument15Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
636
/// Creates a new <see cref="
DbLambda
"/> with arguments of the specified types, as defined by the specified function.
664
public static
DbLambda
Create(TypeUsage argument1Type, TypeUsage argument2Type, TypeUsage argument3Type, TypeUsage argument4Type, TypeUsage argument5Type, TypeUsage argument6Type, TypeUsage argument7Type, TypeUsage argument8Type, TypeUsage argument9Type, TypeUsage argument10Type, TypeUsage argument11Type, TypeUsage argument12Type, TypeUsage argument13Type, TypeUsage argument14Type, TypeUsage argument15Type, TypeUsage argument16Type, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression> lambdaFunction)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (4)
180
protected virtual
DbLambda
VisitLambda(
DbLambda
lambda)
184
DbLambda
result = lambda;
444
DbLambda
newLambda = this.VisitLambda(expression.Lambda);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (10)
192
/// Creates a <see cref="
DbLambda
"/> with the specified inline Lambda function implementation and formal parameters.
206
public static
DbLambda
Lambda(DbExpression body, IEnumerable<DbVariableReferenceExpression> variables)
212
/// Creates a <see cref="
DbLambda
"/> with the specified inline Lambda function implementation and formal parameters.
226
public static
DbLambda
Lambda(DbExpression body, params DbVariableReferenceExpression[] variables)
231
private static
DbLambda
CreateLambda(DbExpression body, IEnumerable<DbVariableReferenceExpression> variables)
1500
/// <param name="lambda">A <see cref="
DbLambda
"/> instance representing the Lambda function to apply.</param>
1511
public static DbLambdaExpression Invoke(this
DbLambda
lambda, IEnumerable<DbExpression> arguments)
1519
/// <param name="lambda">A <see cref="
DbLambda
"/> instance representing the Lambda function to apply.</param>
1530
public static DbLambdaExpression Invoke(this
DbLambda
lambda, params DbExpression[] arguments)
1535
private static DbLambdaExpression InvokeLambda(
DbLambda
lambda, IEnumerable<DbExpression> arguments)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1504
internal static TypeUsage ValidateInvoke(
DbLambda
lambda, IEnumerable<DbExpression> arguments, out DbExpressionList validArguments)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
341
internal void Dump(
DbLambda
lambda)
System\Data\Common\CommandTrees\ValueExpressions.cs (4)
322
private readonly
DbLambda
_lambda;
325
internal DbLambdaExpression(TypeUsage resultType,
DbLambda
lambda, DbExpressionList args)
338
/// Gets the <see cref="
DbLambda
"/> representing the Lambda function applied by this expression.
340
public
DbLambda
Lambda { get { return _lambda; } }
System\Data\Common\EntitySql\CqlQuery.cs (6)
83
/// Compiles an eSQL query command producing a validated <see cref="
DbLambda
"/>.
99
internal static
DbLambda
CompileQueryCommandLambda(string queryCommandText,
107
DbLambda
lambda = AnalyzeQueryExpressionSemantics(astCommand,
229
/// Performs semantic conversion, validation on a query command AST and creates a <see cref="
DbLambda
"/>
245
private static
DbLambda
AnalyzeQueryExpressionSemantics(AST.Node astQueryCommand,
259
DbLambda
lambda = analyzer.AnalyzeQueryCommand(astExpr);
System\Data\Common\EntitySql\EntitySqlParser.cs (3)
55
/// Parse a specific query with a specific set variables and produce a <see cref="
DbLambda
"/>.
57
public
DbLambda
ParseLambda(string query, params DbVariableReferenceExpression[] variables)
66
DbLambda
result = CqlQuery.CompileQueryCommandLambda(query, _perspective, null /* parser options - use default */, null /* parameters */, variables);
System\Data\Common\EntitySql\ParseResult.cs (3)
53
private readonly
DbLambda
_lambda;
57
internal FunctionDefinition(string name,
DbLambda
lambda, int startPosition, int endPosition)
76
public
DbLambda
Lambda { get { return this._lambda; } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (6)
87
internal
DbLambda
AnalyzeQueryCommand(AST.Node astExpr)
107
DbLambda
lambda = DbExpressionBuilder.Lambda(expression, _sr.Variables.Values);
430
private
DbLambda
_convertedDefinition = null;
438
internal override
DbLambda
GetLambda(SemanticResolver sr)
465
private static
DbLambda
ConvertInlineFunctionDefinition(InlineFunctionInfo functionInfo, SemanticResolver sr)
3914
DbLambda
gpExpressionLambda = new DbLambda(gpExpressionLambdaVariables, ((GroupPartitionInfo)groupAggregateInfo).AggregateDefinition);
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1508
internal abstract
DbLambda
GetLambda(SemanticResolver sr);
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (4)
67
DbLambda
functionBody = CqlQuery.CompileQueryCommandLambda(
80
/// Compiles eSQL <paramref name="functionDefinition"/> and returns <see cref="
DbLambda
"/>.
84
static internal
DbLambda
CompileFunctionDefinition(
101
DbLambda
functionBody = CqlQuery.CompileQueryCommandLambda(
System\Data\Metadata\EdmItemCollection.cs (5)
188
private Memoizer<EdmFunction,
DbLambda
> _getGeneratedFunctionDefinitionsMemoizer;
434
internal
DbLambda
GetGeneratedFunctionDefinition(EdmFunction function)
440
new Memoizer<EdmFunction,
DbLambda
>(GenerateFunctionDefinition, null),
454
internal
DbLambda
GenerateFunctionDefinition(EdmFunction function)
462
DbLambda
generatedDefinition;
System\Data\Metadata\MetadataWorkspace.cs (1)
1208
internal
DbLambda
GetGeneratedFunctionDefinition(EdmFunction function)
System\Data\Objects\ELinq\OrderByLifter.cs (2)
192
DbLambda
secondLambda = DbExpressionBuilder.Lambda(second.Projection, second.Input.Variable);
205
DbLambda
secondLambda = DbExpressionBuilder.Lambda(second.Predicate, second.Input.Variable);
System\Data\Objects\Internal\EntitySqlQueryState.cs (1)
256
DbLambda
lambda =
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
450
rewritten =
DbLambda
.Create(rewritten, lambdaExpression.Lambda.Variables).Invoke(lambdaExpression.Arguments);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (3)
876
private void EnterLambdaFunction(
DbLambda
lambda, List<Tuple<Node, bool>> argumentValues, EdmFunction expandingEdmFunction)
1045
DbLambda
lambda;
1084
private Node VisitLambdaExpression(
DbLambda
lambda, IList<DbExpression> arguments, DbExpression applicationExpr, EdmFunction expandingEdmFunction)