Partager via


JsonScalarExpression Constructeurs

Définition

Surcharges

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

Crée une instance de la classe JsonScalarExpression.

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

Crée une instance de la classe JsonScalarExpression.

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

Crée une instance de la classe JsonScalarExpression.

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)

Paramètres

jsonColumn
ColumnExpression

Colonne contenant une valeur JSON.

property
IProperty

Propriété représentant le résultat de cette expression.

path
IReadOnlyList<PathSegment>

Liste des segments de chemin d’accès menant au scalaire à partir de la racine du JSON stocké dans la colonne.

nullable
Boolean

Valeur indiquant si l’expression peut avoir la valeur Null.

S’applique à

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

Crée une instance de la classe JsonScalarExpression.

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)

Paramètres

json
SqlExpression

Expression représentant une valeur JSON.

path
IReadOnlyList<PathSegment>

Liste des segments de chemin d’accès menant au scalaire à partir de la racine du JSON stocké dans la colonne.

type
Type

Type de l'expression.

typeMapping
RelationalTypeMapping

RelationalTypeMapping associé à l’expression .

nullable
Boolean

Valeur indiquant si l’expression peut avoir la valeur Null.

S’applique à