Partager via


SelectExpression.AddCollectionProjection Méthode

Définition

Surcharges

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

Ajoute une collection à la projection de .SelectExpression

AddCollectionProjection(ShapedQueryExpression, INavigation, Type)

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

Paramètres

shapedQueryExpression
ShapedQueryExpression
navigation
INavigation
elementType
Type

Retours

S’applique à

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

Source:
SelectExpression.cs

Ajoute une collection à la projection de .SelectExpression

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

Paramètres

shapedQueryExpression
ShapedQueryExpression

Expression de requête mise en forme pour la sous-requête produisant le résultat de la collection.

navigation
INavigationBase

Navigation associée à cette collection, le cas échéant.

elementType
Type

Type de l'élément de la collection.

Retours

CollectionShaperExpression qui représente la mise en forme de cette collection.

S’applique à