Share via


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à.

Restituisce

Valore della proprietà JSON usato per archiviare il valore di questa proprietà di entità. null viene restituito per le proprietà delle chiavi e per le proprietà delle entità non mappate a una colonna JSON.

Commenti

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

Si applica a