Share via


JsonQueryExpression Constructor

Definition

Creates a new instance of the JsonQueryExpression class.

public JsonQueryExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression jsonColumn, System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> keyPropertyMap, Type type, bool collection);
new Microsoft.EntityFrameworkCore.Query.JsonQueryExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression * System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> * Type * bool -> Microsoft.EntityFrameworkCore.Query.JsonQueryExpression
Public Sub New (entityType As IEntityType, jsonColumn As ColumnExpression, keyPropertyMap As IReadOnlyDictionary(Of IProperty, ColumnExpression), type As Type, collection As Boolean)

Parameters

entityType
IEntityType

An entity type being represented by this expression.

jsonColumn
ColumnExpression

A column containing JSON value.

keyPropertyMap
IReadOnlyDictionary<IProperty,ColumnExpression>

A map of key properties and columns they map to in the database.

type
Type

A type of the element represented by this expression.

collection
Boolean

A value indicating whether this expression represents a collection or not.

Applies to