语言

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

适用于