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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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,
	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
)

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

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

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

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

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

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

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

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

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

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

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

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

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

lambdaFunction
Type: System.Func<DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, DbExpression, 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

argument1Typeargument2Typeargument3Typeargument4Typeargument5Typeargument6Typeargument7Typeargument8Typeargument9Typeargument10Typeargument11Typeargument12TypelambdaFunction

.NET Framework
Available since 4.5
Return to top
Show: