Lingua

RelationalComplexPropertyExtensions.SetJsonPropertyName Metodo

Definizione

Overload

Nome Descrizione
SetJsonPropertyName(IMutableComplexProperty, String)

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

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

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

SetJsonPropertyName(IMutableComplexProperty, String)

Origine:
RelationalComplexPropertyExtensions.cs
Origine:
RelationalComplexPropertyExtensions.cs

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

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

Parametri

complexProperty
IMutableComplexProperty

Proprietà complessa.

name
String

Nome da utilizzare.

Si applica a

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

Origine:
RelationalComplexPropertyExtensions.cs
Origine:
RelationalComplexPropertyExtensions.cs

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

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

Parametri

complexProperty
IConventionComplexProperty

Proprietà complessa.

name
String

Nome da utilizzare.

fromDataAnnotation
Boolean

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

Valori restituiti

Valore configurato.

Si applica a