JsonQueryExpression Constructors
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.
Overloads
| Name | Description |
|---|---|
| JsonQueryExpression(IEntityType, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, Type, Boolean) |
Creates a new instance of the JsonQueryExpression class. |
| JsonQueryExpression(ITypeBase, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, Type, Boolean) |
Creates a new instance of the JsonQueryExpression class. |
| JsonQueryExpression(ITypeBase, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, IReadOnlyList<PathSegment>, Type, Boolean, Boolean) |
Creates a new instance of the JsonQueryExpression class. |
JsonQueryExpression(IEntityType, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, Type, Boolean)
- Source:
- JsonQueryExpression.cs
- Source:
- JsonQueryExpression.cs
- Source:
- JsonQueryExpression.cs
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
JsonQueryExpression(ITypeBase, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, Type, Boolean)
- Source:
- JsonQueryExpression.cs
Creates a new instance of the JsonQueryExpression class.
public JsonQueryExpression(Microsoft.EntityFrameworkCore.Metadata.ITypeBase structuralType, 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.ITypeBase * 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 (structuralType As ITypeBase, jsonColumn As ColumnExpression, keyPropertyMap As IReadOnlyDictionary(Of IProperty, ColumnExpression), type As Type, collection As Boolean)
Parameters
- structuralType
- ITypeBase
The structural type represented by this expression.
- jsonColumn
- ColumnExpression
A column containing the JSON value.
- keyPropertyMap
- IReadOnlyDictionary<IProperty,ColumnExpression>
For owned entities, a map of key properties and columns they map to in the database. For complex types,
null.
- type
- Type
The CLR represented by this expression.
- collection
- Boolean
Whether this expression represents a collection.
Applies to
JsonQueryExpression(ITypeBase, ColumnExpression, IReadOnlyDictionary<IProperty,ColumnExpression>, IReadOnlyList<PathSegment>, Type, Boolean, Boolean)
- Source:
- JsonQueryExpression.cs
Creates a new instance of the JsonQueryExpression class.
public JsonQueryExpression(Microsoft.EntityFrameworkCore.Metadata.ITypeBase structuralType, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression jsonColumn, System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression>? keyPropertyMap, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> path, Type type, bool collection, bool nullable);
new Microsoft.EntityFrameworkCore.Query.JsonQueryExpression : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression * System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> * Type * bool * bool -> Microsoft.EntityFrameworkCore.Query.JsonQueryExpression
Public Sub New (structuralType As ITypeBase, jsonColumn As ColumnExpression, keyPropertyMap As IReadOnlyDictionary(Of IProperty, ColumnExpression), path As IReadOnlyList(Of PathSegment), type As Type, collection As Boolean, nullable As Boolean)
Parameters
- structuralType
- ITypeBase
The structural type represented by this expression.
- jsonColumn
- ColumnExpression
A column containing the JSON value.
- keyPropertyMap
- IReadOnlyDictionary<IProperty,ColumnExpression>
For owned entities, a map of key properties and columns they map to in the database. For complex types,
null.
- path
- IReadOnlyList<PathSegment>
The list of path segments leading to the entity from the root of the JSON stored in the column.
- type
- Type
The CLR represented by this expression.
- collection
- Boolean
Whether this expression represents a collection.
- nullable
- Boolean
Whether this expression is nullable.