Muokkaa

Jaa


DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbProjectExpression ^ Project(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ projection);
public static System.Data.Common.CommandTrees.DbProjectExpression Project (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.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