Lingua

RelationalComplexPropertyExtensions.GetJsonPropertyName Metodo

Definizione

Ottiene il valore del nome della proprietà JSON usato per la proprietà complessa specificata di un'entità mappata a una colonna 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

Parametri

complexProperty
IReadOnlyComplexProperty

Proprietà complessa.

Valori restituiti

Valore per la proprietà JSON usata per archiviare il valore di questa proprietà complessa. null viene restituito per proprietà complesse di entità non mappate a una colonna JSON.

Commenti

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

Si applica a