JsonScalarExpression Constructors

Definition

Overloads

JsonScalarExpression(ColumnExpression, IProperty, IReadOnlyList<PathSegment>, Boolean)

Creates a new instance of the JsonScalarExpression class.

JsonScalarExpression(SqlExpression, IReadOnlyList<PathSegment>, Type, RelationalTypeMapping, Boolean)

Creates a new instance of the JsonScalarExpression class.

JsonScalarExpression(ColumnExpression, IProperty, IReadOnlyList<PathSegment>, Boolean)

Creates a new instance of the JsonScalarExpression class.

public JsonScalarExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression jsonColumn, Microsoft.EntityFrameworkCore.Metadata.IProperty property, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> path, bool nullable);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression * Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression
Public Sub New (jsonColumn As ColumnExpression, property As IProperty, path As IReadOnlyList(Of PathSegment), nullable As Boolean)

Parameters

jsonColumn
ColumnExpression

A column containg JSON value.

property
IProperty

A property representing the result of this expression.

path
IReadOnlyList<PathSegment>

A list of path segments leading to the scalar from the root of the JSON stored in the column.

nullable
Boolean

A value indicating whether the expression is nullable.

Applies to

JsonScalarExpression(SqlExpression, IReadOnlyList<PathSegment>, Type, RelationalTypeMapping, Boolean)

Creates a new instance of the JsonScalarExpression class.

public JsonScalarExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression json, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> path, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool nullable);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.PathSegment> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.JsonScalarExpression
Public Sub New (json As SqlExpression, path As IReadOnlyList(Of PathSegment), type As Type, typeMapping As RelationalTypeMapping, nullable As Boolean)

Parameters

json
SqlExpression

An expression representing a JSON value.

path
IReadOnlyList<PathSegment>

A list of path segments leading to the scalar from the root of the JSON stored in the column.

type
Type

The Type of the expression.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

nullable
Boolean

A value indicating whether the expression is nullable.

Applies to