Bagikan melalui


JsonScalarExpression Konstruktor

Definisi

Overload

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

Membuat instans JsonScalarExpression baru kelas .

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

Membuat instans JsonScalarExpression baru kelas .

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

Membuat instans JsonScalarExpression baru kelas .

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)

Parameter

jsonColumn
ColumnExpression

Kolom berisi nilai JSON.

property
IProperty

Properti yang mewakili hasil ekspresi ini.

path
IReadOnlyList<PathSegment>

Daftar segmen jalur yang mengarah ke skalar dari akar JSON yang disimpan dalam kolom.

nullable
Boolean

Nilai yang menunjukkan apakah ekspresi dapat diubah ke null.

Berlaku untuk

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

Membuat instans JsonScalarExpression baru kelas .

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)

Parameter

json
SqlExpression

Ekspresi yang mewakili nilai JSON.

path
IReadOnlyList<PathSegment>

Daftar segmen jalur yang mengarah ke skalar dari akar JSON yang disimpan dalam kolom.

type
Type

Ekspresi Type .

typeMapping
RelationalTypeMapping

yang RelationalTypeMapping terkait dengan ekspresi.

nullable
Boolean

Nilai yang menunjukkan apakah ekspresi dapat diubah ke null.

Berlaku untuk