DbExpressionBuilder.Project Method (DbExpressionBinding, DbExpression)

.NET Framework (current version)
 

Creates a new DbProjectExpression that projects the specified expression over the given input set.

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

public static DbProjectExpression Project(
	this DbExpressionBinding input,
	DbExpression projection
)

Parameters

input
Type: System.Data.Common.CommandTrees.DbExpressionBinding

An expression binding that specifies the input set.

projection
Type: System.Data.Common.CommandTrees.DbExpression

An expression to project over the set.

Return Value

Type: System.Data.Common.CommandTrees.DbProjectExpression

A new DbProjectExpression that represents the projection operation.

Exception Condition
ArgumentNullException

input or projection is null.

.NET Framework
Available since 4.5
Return to top
Show: