Share via


DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Method

Definition

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

public static System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression Project (this System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding input, System.Data.Entity.Core.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression
<Extension()>
Public Function Project (input As DbExpressionBinding, projection As DbExpression) As DbProjectExpression

Parameters

input
DbExpressionBinding

An expression binding that specifies the input set.

projection
DbExpression

An expression to project over the set.

Returns

A new DbProjectExpression that represents the projection operation.

Exceptions

input or projection is null.

Applies to