DbExpressionBuilder.Project Method (DbExpressionBinding, DbExpression)

 

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

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

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

Parameters

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

An expression binding that specifies the input set.

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

An expression to project over the set.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression

A new DbProjectExpression that represents the projection operation.

Exception Condition
ArgumentNullException

input or projection is null.