SelectExpression.AddCollectionProjection Método

Definición

Sobrecargas

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

Agrega una colección a la proyección de 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

Devoluciones

Se aplica a

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

Agrega una colección a la proyección 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

Parámetros

shapedQueryExpression
ShapedQueryExpression

Expresión de consulta con forma para la subconsulta que genera el resultado de la colección.

navigation
INavigationBase

Navegación asociada a esta colección, si existe.

elementType
Type

Tipo de elementos de la colección.

Devoluciones

que CollectionShaperExpression representa la forma de esta colección.

Se aplica a