ProjectionBindingExpression Constructors

Definition

Overloads

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Creates a new instance of the ProjectionBindingExpression class.

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

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, ProjectionMember, Type)

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, Int32, Type)

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Creates a new instance of the ProjectionBindingExpression class.

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

Parameters

queryExpression
Expression

The query expression to get the value from.

indexMap
IDictionary<IProperty,Int32>

The index map to bind with query expression projection for ValueBuffer.

Applies to

ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)

Caution

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

Creates a new instance of the ProjectionBindingExpression class.

[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))

Parameters

queryExpression
Expression

The query expression to get the value from.

indexMap
IReadOnlyDictionary<IProperty,Int32>

The index map to bind with query expression projection for ValueBuffer.

Attributes

Applies to

ProjectionBindingExpression(Expression, ProjectionMember, Type)

Creates a new instance of the ProjectionBindingExpression class.

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)

Parameters

queryExpression
Expression

The query expression to get the value from.

projectionMember
ProjectionMember

The projection member to bind with query expression.

type
Type

The clr type of value being read.

Applies to

ProjectionBindingExpression(Expression, Int32, Type)

Creates a new instance of the ProjectionBindingExpression class.

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)

Parameters

queryExpression
Expression

The query expression to get the value from.

index
Int32

The index to bind with query expression projection.

type
Type

The clr type of value being read.

Applies to