SelectExpression.AddCollectionProjection Yöntem

Tanım

Aşırı Yüklemeler

AddCollectionProjection(ShapedQueryExpression, INavigation, Type)
AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

projeksiyonu için bir koleksiyon SelectExpression ekler.

AddCollectionProjection(ShapedQueryExpression, INavigation, Type)

public Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression AddCollectionProjection (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression shapedQueryExpression, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
member this.AddCollectionProjection : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Function AddCollectionProjection (shapedQueryExpression As ShapedQueryExpression, navigation As INavigation, elementType As Type) As CollectionShaperExpression

Parametreler

shapedQueryExpression
ShapedQueryExpression
navigation
INavigation
elementType
Type

Döndürülenler

CollectionShaperExpression

Şunlara uygulanır

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

projeksiyonu için bir koleksiyon SelectExpression ekler.

public Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression AddCollectionProjection (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression shapedQueryExpression, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType);
member this.AddCollectionProjection : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Function AddCollectionProjection (shapedQueryExpression As ShapedQueryExpression, navigation As INavigationBase, elementType As Type) As CollectionShaperExpression

Parametreler

shapedQueryExpression
ShapedQueryExpression

Toplama sonucu üreten alt sorgu için şekillendiren sorgu ifadesi.

navigation
INavigationBase

Varsa, bu koleksiyonla ilişkili bir gezinti.

elementType
Type

Koleksiyonda öğenin türü.

Döndürülenler

CollectionShaperExpression

Bu CollectionShaperExpression koleksiyonun şekillendirmeyi temsil eden.

Şunlara uygulanır