語言

SelectExpression.ApplyCollectionJoin 方法

定義

多載

ApplyCollectionJoin(Int32, Int32, Expression, INavigation, Type)

來源:
SelectExpression.cs
來源:
SelectExpression.cs
public System.Linq.Expressions.Expression ApplyCollectionJoin(int collectionIndex, int collectionId, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
member this.ApplyCollectionJoin : int * int * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> System.Linq.Expressions.Expression
Public Function ApplyCollectionJoin (collectionIndex As Integer, collectionId As Integer, innerShaper As Expression, navigation As INavigation, elementType As Type) As Expression

參數

collectionIndex
Int32
collectionId
Int32
innerShaper
Expression
navigation
INavigation
elementType
Type

傳回

適用於

ApplyCollectionJoin(Int32, Int32, Expression, INavigationBase, Type, Boolean)

來源:
SelectExpression.cs

套用先前新增的集合投影。

public System.Linq.Expressions.Expression ApplyCollectionJoin(int collectionIndex, int collectionId, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType, bool splitQuery = false);
member this.ApplyCollectionJoin : int * int * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type * bool -> System.Linq.Expressions.Expression
Public Function ApplyCollectionJoin (collectionIndex As Integer, collectionId As Integer, innerShaper As Expression, navigation As INavigationBase, elementType As Type, Optional splitQuery As Boolean = false) As Expression

參數

collectionIndex
Int32

一個整數值,指定從待處理的集合中套用哪一個集合。

collectionId
Int32

與此集合投影相關的唯一集合 ID 的 int 值。

innerShaper
Expression

一個用於塑造本系列元素的造型表達式。

navigation
INavigationBase

若有相關導覽,與此收藏相關。

elementType
Type

集合中元素的類型。

splitQuery
Boolean

一個值,表示集合查詢是否會以不同的 DbCommand 執行。

傳回

這是一個代表這個系列塑造的表達式。

適用於