Aracılığıyla paylaş


SelectExpression.AddCollectionProjection Yöntem

Tanım

Aşırı Yüklemeler

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

yansıtmasına SelectExpressionbir koleksiyon ekler.

AddCollectionProjection(ShapedQueryExpression, INavigation, Type)

Kaynak:
SelectExpression.cs
Kaynak:
SelectExpression.cs
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

Şunlara uygulanır

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

Kaynak:
SelectExpression.cs

yansıtmasına SelectExpressionbir koleksiyon 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

Koleksiyon sonucu oluşturan alt sorgu için şekillendirilmiş sorgu ifadesi.

navigation
INavigationBase

Varsa, bu koleksiyonla ilişkilendirilmiş bir gezinti.

elementType
Type

Koleksiyondaki öğenin türü.

Döndürülenler

CollectionShaperExpression Bu koleksiyonun şekillendirmesini temsil eden bir.

Şunlara uygulanır