SelectExpression.AddToProjection Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddToProjection(AliasExpression) |
AliasExpression Menambahkan ke proyeksi. |
AddToProjection(ColumnExpression) |
Menambahkan ColumnExpression ke proyeksi. |
AddToProjection(Expression) |
Menambahkan ekspresi ke proyeksi. |
AddToProjection(IProperty, IQuerySource) |
Menambahkan kolom ke proyeksi. |
AddToProjection(Expression, Boolean) |
Menambahkan ekspresi ke proyeksi. |
AddToProjection(String, IProperty, IQuerySource) |
Menambahkan kolom ke proyeksi. |
AddToProjection(AliasExpression)
AliasExpression Menambahkan ke proyeksi.
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
Parameter
- aliasExpression
- AliasExpression
Ekspresi alias.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
AddToProjection(ColumnExpression)
Menambahkan ColumnExpression ke proyeksi.
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
Parameter
- columnExpression
- ColumnExpression
Ekspresi kolom.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
AddToProjection(Expression)
Menambahkan ekspresi ke proyeksi.
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
Parameter
- expression
- Expression
Ekspresi.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
AddToProjection(IProperty, IQuerySource)
Menambahkan kolom ke proyeksi.
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
Parameter
- property
- IProperty
Properti EF yang sesuai.
- querySource
- Remotion.Linq.Clauses.IQuerySource
Sumber kueri asal.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
AddToProjection(Expression, Boolean)
Menambahkan ekspresi ke proyeksi.
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
Parameter
- expression
- Expression
Ekspresi.
- resetProjectStar
- Boolean
true untuk mengatur ulang nilai IsProjectStar.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
AddToProjection(String, IProperty, IQuerySource)
Menambahkan kolom ke proyeksi.
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
Parameter
- column
- String
Nama kolom.
- property
- IProperty
Properti EF yang sesuai.
- querySource
- Remotion.Linq.Clauses.IQuerySource
Sumber kueri asal.
Mengembalikan
Indeks terkait dari ekspresi yang ditambahkan di Projection.
Berlaku untuk
Entity Framework