SelectExpression.ApplyCollectionJoin 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
int 值,指定要套用的暫止集合中的集合。
- collectionId
- Int32
與這個集合投影相關聯的唯一集合識別碼 int 值。
- innerShaper
- Expression
要用於塑造這個集合元素的圖形運算式。
- navigation
- INavigationBase
如果有任何,則為與此集合相關聯的導覽。
- elementType
- Type
集合中元素的類型。
- splitQuery
- Boolean
值,指出是否要使用不同的 DbCommand 來執行集合查詢。
傳回
表示這個集合成形的運算式。