SelectExpression.AddAliasToProjection(String, Expression) 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.
Adds an expression with an alias to the projection.
public virtual int AddAliasToProjection (string alias, System.Linq.Expressions.Expression expression);
abstract member AddAliasToProjection : string * System.Linq.Expressions.Expression -> int
override this.AddAliasToProjection : string * System.Linq.Expressions.Expression -> int
Public Overridable Function AddAliasToProjection (alias As String, expression As Expression) As Integer
Parameters
- alias
- String
The alias.
- expression
- Expression
The expression.
Returns
The corresponding index of the added expression in Projection.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework