CollectionShaperExpression 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CollectionShaperExpression(Expression, Expression, INavigation, Type) | |
CollectionShaperExpression(Expression, Expression, INavigationBase, Type) |
创建 CollectionShaperExpression 类的新实例。 |
CollectionShaperExpression(Expression, Expression, INavigation, Type)
public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Sub New (projection As Expression, innerShaper As Expression, navigation As INavigation, elementType As Type)
参数
- projection
- Expression
- innerShaper
- Expression
- navigation
- INavigation
- elementType
- Type
适用于
CollectionShaperExpression(Expression, Expression, INavigationBase, Type)
创建 CollectionShaperExpression 类的新实例。
public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType);
public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Sub New (projection As Expression, innerShaper As Expression, navigation As INavigationBase, elementType As Type)
参数
- projection
- Expression
重新输入如何从查询获取值以创建集合的表达式。
- innerShaper
- Expression
用于创建集合的各个元素的表达式。
- navigation
- INavigationBase
与此集合关联的导航(如果有)。
- elementType
- Type
集合中各个元素的 clr 类型。