ProjectionBindingExpression 构造函数

定义

重载

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

创建 ProjectionBindingExpression 类的新实例。

ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)
已过时.

创建 ProjectionBindingExpression 类的新实例。

ProjectionBindingExpression(Expression, ProjectionMember, Type)

创建 ProjectionBindingExpression 类的新实例。

ProjectionBindingExpression(Expression, Int32, Type)

创建 ProjectionBindingExpression 类的新实例。

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs

创建 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>)

Source:
ProjectionBindingExpression.cs

注意

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)

Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs

创建 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)

Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs
Source:
ProjectionBindingExpression.cs

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

适用于