Lingua

RelationalPropertyExtensions.GetJsonPropertyName(IReadOnlyProperty) Metodo

Definizione

Ottiene il valore del nome della proprietà JSON usato per la proprietà specificata di un'entità mappata a una colonna JSON.

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

Parametri

property
IReadOnlyProperty

Proprietà .

Valori restituiti

Valore per la proprietà JSON usata per archiviare il valore di questa proprietà di entità. Per impostazione predefinita null , viene restituito per le proprietà chiave e per le proprietà non mappate a JSON.

Commenti

A meno che non sia configurato in modo esplicito, viene usato il nome della proprietà dell'entità.

Si applica a