DbExpressionBuilder.Project Method (DbExpressionBinding, DbExpression)
Creates a new DbProjectExpression that projects the specified expression over the given input set.
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.DbProjectExpressionA new DbProjectExpression that represents the projection operation.
Exception | Condition |
---|---|
ArgumentNullException | input or projection is null. |