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

CollectionShaperExpression

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 moldada para a subconsulta que produz o resultado da coleção.

navigation
INavigationBase

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

elementType
Type

O tipo do elemento na coleção.

Retornos

CollectionShaperExpression

Um CollectionShaperExpression que representa o Shaping desta coleção.

Aplica-se a