Jazyk

RelationalComplexPropertyExtensions.SetJsonPropertyName Metoda

Definice

Přetížení

Název Description
SetJsonPropertyName(IMutableComplexProperty, String)

Nastaví hodnotu názvu vlastnosti JSON použité pro danou komplexní vlastnost entity namapované na sloupec JSON.

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

Nastaví hodnotu názvu vlastnosti JSON použité pro danou komplexní vlastnost entity namapované na sloupec JSON.

SetJsonPropertyName(IMutableComplexProperty, String)

Zdroj:
RelationalComplexPropertyExtensions.cs
Zdroj:
RelationalComplexPropertyExtensions.cs

Nastaví hodnotu názvu vlastnosti JSON použité pro danou komplexní vlastnost entity namapované na sloupec 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)

Parametry

complexProperty
IMutableComplexProperty

Složitá vlastnost.

name
String

Název, který se má použít.

Platí pro

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

Zdroj:
RelationalComplexPropertyExtensions.cs
Zdroj:
RelationalComplexPropertyExtensions.cs

Nastaví hodnotu názvu vlastnosti JSON použité pro danou komplexní vlastnost entity namapované na sloupec 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

Parametry

complexProperty
IConventionComplexProperty

Složitá vlastnost.

name
String

Název, který se má použít.

fromDataAnnotation
Boolean

Určuje, jestli byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurovaná hodnota.

Platí pro