SelectExpression.ApplyCollectionJoin 方法

定义

重载

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

与此集合投影关联的唯一集合 ID 的 int 值。

innerShaper
Expression

用于调整此集合的元素的整形表达式。

navigation
INavigationBase

与此集合关联的导航(如果有)。

elementType
Type

集合中的元素的类型。

splitQuery
Boolean

一个 值,该值指示是否使用不同的 DbCommand 运行集合查询。

返回

表示此集合的整形的表达式。

适用于