SelectExpression.AddCollectionProjection Método

Definição

Sobrecargas

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

Adiciona uma coleção à projeção do 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

Parâmetros

shapedQueryExpression
ShapedQueryExpression
navigation
INavigation
elementType
Type

Retornos

Aplica-se a

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

Adiciona uma coleção à projeção do 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

Parâmetros

shapedQueryExpression
ShapedQueryExpression

Uma expressão de consulta em forma para o resultado da coleção de produção de subconsulta.

navigation
INavigationBase

Uma navegação associada a esta coleção, se houver.

elementType
Type

O tipo do elemento na coleção.

Retornos

Um CollectionShaperExpression que representa a formatação dessa coleção.

Aplica-se a