DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework