RelationalComplexPropertyExtensions.SetJsonPropertyName Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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)
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)
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.