Export (0) Print
Expand All
Expand Minimize

DbLambda.Create Method (TypeUsage, TypeUsage, TypeUsage, TypeUsage, 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, DbExpression, DbExpression, DbExpression, DbExpression>)

.NET Framework 4.5

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

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

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

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

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

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

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

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

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

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

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

ExceptionCondition
ArgumentNullException

argument1Typeargument2Typeargument3Typeargument4Typeargument5Typeargument6Typeargument7Typeargument8Typeargument9Typeargument10Typeargument11Typeargument12Typeargument13Typeargument14Typeargument15Typeargument16TypelambdaFunction

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft