Compartilhar via


ProjectionBindingExpression Construtores

Definição

Sobrecargas

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Cria uma nova instância da classe ProjectionBindingExpression.

ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)
Obsoleto.

Cria uma nova instância da classe ProjectionBindingExpression.

ProjectionBindingExpression(Expression, ProjectionMember, Type)

Cria uma nova instância da classe ProjectionBindingExpression.

ProjectionBindingExpression(Expression, Int32, Type)

Cria uma nova instância da classe ProjectionBindingExpression.

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Cria uma nova instância da classe 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))

Parâmetros

queryExpression
Expression

A expressão de consulta da qual obter o valor.

indexMap
IDictionary<IProperty,Int32>

O mapa de índice a ser associado à projeção de expressão de consulta para ValueBuffer.

Aplica-se a

ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)

Cuidado

The dictionary should be stored in client projection in query expression and access via index based binding.

Cria uma nova instância da classe 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))

Parâmetros

queryExpression
Expression

A expressão de consulta da qual obter o valor.

indexMap
IReadOnlyDictionary<IProperty,Int32>

O mapa de índice a ser associado à projeção de expressão de consulta para ValueBuffer.

Atributos

Aplica-se a

ProjectionBindingExpression(Expression, ProjectionMember, Type)

Cria uma nova instância da classe 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)

Parâmetros

queryExpression
Expression

A expressão de consulta da qual obter o valor.

projectionMember
ProjectionMember

O membro de projeção a ser associado à expressão de consulta.

type
Type

O tipo clr de valor que está sendo lido.

Aplica-se a

ProjectionBindingExpression(Expression, Int32, Type)

Cria uma nova instância da classe 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)

Parâmetros

queryExpression
Expression

A expressão de consulta da qual obter o valor.

index
Int32

O índice a ser associado à projeção de expressão de consulta.

type
Type

O tipo clr de valor que está sendo lido.

Aplica-se a