SelectExpression.AddCollectionProjection メソッド

定義

オーバーロード

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

のプロジェクションにコレクションを追加します 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

パラメーター

shapedQueryExpression
ShapedQueryExpression
navigation
INavigation
elementType
Type

戻り値

適用対象

AddCollectionProjection(ShapedQueryExpression, INavigationBase, Type)

のプロジェクションにコレクションを追加します 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

パラメーター

shapedQueryExpression
ShapedQueryExpression

コレクション結果を生成するサブクエリの整形されたクエリ式。

navigation
INavigationBase

このコレクションに関連付けられているナビゲーション (存在する場合)。

elementType
Type

コレクション内の要素の型。

戻り値

CollectionShaperExpressionこのコレクションの整形を表す 。

適用対象