SelectExpression.AddCollectionProjection Metodo

Definizione

Overload

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

Aggiunge una raccolta alla proiezione dell'oggetto SelectExpression.

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

Parametri

shapedQueryExpression
ShapedQueryExpression
navigation
INavigation
elementType
Type

Restituisce

Si applica a

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

Aggiunge una raccolta alla proiezione dell'oggetto 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

Parametri

shapedQueryExpression
ShapedQueryExpression

Espressione di query con forma per la sottoquery che produce il risultato della raccolta.

navigation
INavigationBase

Struttura di spostamento associata a questa raccolta, se presente.

elementType
Type

Tipo dell'elemento nella raccolta.

Restituisce

Oggetto CollectionShaperExpression che rappresenta la forma di questa raccolta.

Si applica a