SelectExpression.ApplyCollectionJoin 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ApplyCollectionJoin(Int32, Int32, Expression, INavigation, Type) | |
| ApplyCollectionJoin(Int32, Int32, Expression, INavigationBase, Type, Boolean) |
套用先前新增的集合投影。 |
ApplyCollectionJoin(Int32, Int32, Expression, INavigation, Type)
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)
套用先前新增的集合投影。
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 執行。
傳回
這是一個代表這個系列塑造的表達式。