DbLambda.Create Method (TypeUsage, TypeUsage, TypeUsage, TypeUsage, TypeUsage, TypeUsage, Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression>)

.NET Framework (current version)
 

Creates a new DbLambda with arguments of the specified types, as defined by the specified function.

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

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
)

Parameters

argument1Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the first argument to the Lambda function

argument2Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the second argument to the Lambda function

argument3Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the third argument to the Lambda function

argument4Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the fourth argument to the Lambda function

argument5Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the fifth argument to the Lambda function

argument6Type
Type: System.Data.Metadata.Edm.TypeUsage

A TypeUsage that defines the EDM type of the sixth argument to the Lambda function

lambdaFunction
Type: System.Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression>

A function that defines the logic of the Lambda function as a DbExpression

Return Value

Type: System.Data.Common.CommandTrees.DbLambda

A new DbLambda that describes an inline Lambda function with the specified body and formal parameters.

Exception Condition
ArgumentNullException

argument1Typeargument2Typeargument3Typeargument4Typeargument5Typeargument6TypelambdaFunction

.NET Framework
Available since 4.5
Return to top
Show: