Bagikan melalui


SelectExpression.AddToProjection Metode

Definisi

Overload

AddToProjection(EntityProjectionExpression)

Menambahkan yang diberikan EntityProjectionExpression ke proyeksi.

AddToProjection(SqlExpression)

Menambahkan yang diberikan SqlExpression ke proyeksi.

AddToProjection(EntityProjectionExpression)

Menambahkan yang diberikan EntityProjectionExpression ke proyeksi.

public System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,int> AddToProjection (Microsoft.EntityFrameworkCore.Query.EntityProjectionExpression entityProjection);
member this.AddToProjection : Microsoft.EntityFrameworkCore.Query.EntityProjectionExpression -> System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, int>
Public Function AddToProjection (entityProjection As EntityProjectionExpression) As IDictionary(Of IProperty, Integer)

Parameter

entityProjection
EntityProjectionExpression

Proyeksi entitas yang akan ditambahkan.

Mengembalikan

Kamus IProperty untuk mengindikasikan properti dan indeks yang sesuai dalam daftar proyeksi.

Berlaku untuk

AddToProjection(SqlExpression)

Menambahkan yang diberikan SqlExpression ke proyeksi.

public int AddToProjection (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
member this.AddToProjection : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> int
Public Function AddToProjection (sqlExpression As SqlExpression) As Integer

Parameter

sqlExpression
SqlExpression

Ekspresi yang akan ditambahkan.

Mengembalikan

Nilai int yang menunjukkan indeks tempat ekspresi ditambahkan dalam daftar proyeksi.

Berlaku untuk