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