CollectionResultExpression 构造函数

定义

创建 CollectionResultExpression 类的新实例。

public CollectionResultExpression (Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression projectionBindingExpression, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionResultExpression : Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.CollectionResultExpression
Public Sub New (projectionBindingExpression As ProjectionBindingExpression, navigation As INavigationBase, elementType As Type)

参数

projectionBindingExpression
ProjectionBindingExpression

表示如何从 SelectExpression 获取子查询以获取元素的表达式。

navigation
INavigationBase

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

elementType
Type

集合中各个元素的 clr 类型。

适用于