CollectionShaperExpression 构造函数

定义

重载

CollectionShaperExpression(Expression, Expression, INavigation, Type)
CollectionShaperExpression(Expression, Expression, INavigationBase, Type)

创建 CollectionShaperExpression 类的新实例。

CollectionShaperExpression(Expression, Expression, INavigation, Type)

Source:
CollectionShaperExpression.cs
Source:
CollectionShaperExpression.cs
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)

Source:
CollectionShaperExpression.cs
Source:
CollectionShaperExpression.cs

创建 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 类型。

适用于