Bahasa

RelationalComplexPropertyExtensions.GetJsonPropertyName Metode

Definisi

Mendapatkan nilai nama properti JSON yang digunakan untuk properti kompleks tertentu dari entitas yang dipetakan ke kolom JSON.

public static string? GetJsonPropertyName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty complexProperty);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty -> string
<Extension()>
Public Function GetJsonPropertyName (complexProperty As IReadOnlyComplexProperty) As String

Parameter

complexProperty
IReadOnlyComplexProperty

Properti kompleks.

Mengembalikan

Nilai untuk properti JSON yang digunakan untuk menyimpan nilai properti kompleks ini. null dikembalikan untuk properti kompleks entitas yang tidak dipetakan ke kolom JSON.

Keterangan

Kecuali dikonfigurasi secara eksplisit, nama properti kompleks digunakan.

Berlaku untuk