Share via


RelationalPropertyExtensions.SetJsonPropertyName Metodo

Definizione

Overload

SetJsonPropertyName(IMutableProperty, String)

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

SetJsonPropertyName(IConventionProperty, String, Boolean)

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

SetJsonPropertyName(IMutableProperty, String)

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

public static void SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? name);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetJsonPropertyName (property As IMutableProperty, name As String)

Parametri

property
IMutableProperty

Proprietà.

name
String

Nome da utilizzare.

Si applica a

SetJsonPropertyName(IConventionProperty, String, Boolean)

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

public static string? SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? name, bool fromDataAnnotation = false);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Function SetJsonPropertyName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false) As String

Parametri

property
IConventionProperty

Proprietà.

name
String

Nome da utilizzare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a