SelectExpression.AddToProjection Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
AddToProjection(AliasExpression) |
Přidá do projekce objekt AliasExpression . |
AddToProjection(ColumnExpression) |
Přidá ColumnExpression k projekci. |
AddToProjection(Expression) |
Přidá do projekce výraz. |
AddToProjection(IProperty, IQuerySource) |
Přidá do projekce sloupec. |
AddToProjection(Expression, Boolean) |
Přidá do projekce výraz. |
AddToProjection(String, IProperty, IQuerySource) |
Přidá do projekce sloupec. |
AddToProjection(AliasExpression)
Přidá do projekce objekt AliasExpression .
public virtual int AddToProjection (Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression aliasExpression);
abstract member AddToProjection : Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression -> int
override this.AddToProjection : Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression -> int
Public Overridable Function AddToProjection (aliasExpression As AliasExpression) As Integer
Parametry
- aliasExpression
- AliasExpression
Výraz aliasu
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
AddToProjection(ColumnExpression)
Přidá ColumnExpression k projekci.
public virtual int AddToProjection (Microsoft.EntityFrameworkCore.Query.Expressions.ColumnExpression columnExpression);
abstract member AddToProjection : Microsoft.EntityFrameworkCore.Query.Expressions.ColumnExpression -> int
override this.AddToProjection : Microsoft.EntityFrameworkCore.Query.Expressions.ColumnExpression -> int
Public Overridable Function AddToProjection (columnExpression As ColumnExpression) As Integer
Parametry
- columnExpression
- ColumnExpression
Výraz sloupce.
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
AddToProjection(Expression)
Přidá do projekce výraz.
public virtual int AddToProjection (System.Linq.Expressions.Expression expression);
abstract member AddToProjection : System.Linq.Expressions.Expression -> int
override this.AddToProjection : System.Linq.Expressions.Expression -> int
Public Overridable Function AddToProjection (expression As Expression) As Integer
Parametry
- expression
- Expression
Výraz
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
AddToProjection(IProperty, IQuerySource)
- Zdroj:
- SelectExpression.cs
- Zdroj:
- SelectExpression.cs
Přidá do projekce sloupec.
public virtual int AddToProjection (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Remotion.Linq.Clauses.IQuerySource querySource);
abstract member AddToProjection : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
override this.AddToProjection : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
Public Overridable Function AddToProjection (property As IProperty, querySource As IQuerySource) As Integer
Parametry
- property
- IProperty
Odpovídající vlastnost EF.
- querySource
- Remotion.Linq.Clauses.IQuerySource
Původní zdroj dotazu.
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
AddToProjection(Expression, Boolean)
- Zdroj:
- SelectExpression.cs
- Zdroj:
- SelectExpression.cs
Přidá do projekce výraz.
public virtual int AddToProjection (System.Linq.Expressions.Expression expression, bool resetProjectStar);
public virtual int AddToProjection (System.Linq.Expressions.Expression expression, bool resetProjectStar = true);
abstract member AddToProjection : System.Linq.Expressions.Expression * bool -> int
override this.AddToProjection : System.Linq.Expressions.Expression * bool -> int
Public Overridable Function AddToProjection (expression As Expression, resetProjectStar As Boolean) As Integer
Public Overridable Function AddToProjection (expression As Expression, Optional resetProjectStar As Boolean = true) As Integer
Parametry
- expression
- Expression
Výraz
- resetProjectStar
- Boolean
true pro resetování hodnoty IsProjectStar.
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
AddToProjection(String, IProperty, IQuerySource)
Přidá do projekce sloupec.
public virtual int AddToProjection (string column, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Remotion.Linq.Clauses.IQuerySource querySource);
abstract member AddToProjection : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
override this.AddToProjection : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
Public Overridable Function AddToProjection (column As String, property As IProperty, querySource As IQuerySource) As Integer
Parametry
- column
- String
Název sloupce.
- property
- IProperty
Odpovídající vlastnost EF.
- querySource
- Remotion.Linq.Clauses.IQuerySource
Původní zdroj dotazu.
Návraty
Odpovídající index přidaného výrazu v Projection.
Platí pro
Entity Framework