ProjectionBindingExpression 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)
建立 ProjectionBindingExpression 類別的新執行個體。
public ProjectionBindingExpression (System.Linq.Expressions.Expression queryExpression, System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,int> indexMap);
new Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression : System.Linq.Expressions.Expression * System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, int> -> Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression
Public Sub New (queryExpression As Expression, indexMap As IDictionary(Of IProperty, Integer))
參數
- queryExpression
- Expression
要從中取得值的查詢運算式。
- indexMap
- IDictionary<IProperty,Int32>
要與 ValueBuffer 之查詢運算式投影系結的索引對應。
適用於
ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)
警告
The dictionary should be stored in client projection in query expression and access via index based binding.
建立 ProjectionBindingExpression 類別的新執行個體。
[System.Obsolete("The dictionary should be stored in client projection in query expression and access via index based binding.")]
public ProjectionBindingExpression (System.Linq.Expressions.Expression queryExpression, System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,int> indexMap);
[<System.Obsolete("The dictionary should be stored in client projection in query expression and access via index based binding.")>]
new Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, int> -> Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression
Public Sub New (queryExpression As Expression, indexMap As IReadOnlyDictionary(Of IProperty, Integer))
參數
- queryExpression
- Expression
要從中取得值的查詢運算式。
- indexMap
- IReadOnlyDictionary<IProperty,Int32>
要與 ValueBuffer 之查詢運算式投影系結的索引對應。
- 屬性
適用於
ProjectionBindingExpression(Expression, ProjectionMember, Type)
建立 ProjectionBindingExpression 類別的新執行個體。
public ProjectionBindingExpression (System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Query.ProjectionMember projectionMember, Type type);
new Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ProjectionMember * Type -> Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression
Public Sub New (queryExpression As Expression, projectionMember As ProjectionMember, type As Type)
參數
- queryExpression
- Expression
要從中取得值的查詢運算式。
- projectionMember
- ProjectionMember
要與查詢運算式系結的投影成員。
- type
- Type
要讀取之值的 clr 類型。
適用於
ProjectionBindingExpression(Expression, Int32, Type)
建立 ProjectionBindingExpression 類別的新執行個體。
public ProjectionBindingExpression (System.Linq.Expressions.Expression queryExpression, int index, Type type);
new Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression : System.Linq.Expressions.Expression * int * Type -> Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression
Public Sub New (queryExpression As Expression, index As Integer, type As Type)
參數
- queryExpression
- Expression
要從中取得值的查詢運算式。
- index
- Int32
要與查詢運算式投影系結的索引。
- type
- Type
要讀取之值的 clr 類型。