JsonQueryExpression Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework