Dil

RelationalComplexPropertyExtensions.SetJsonPropertyName Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
SetJsonPropertyName(IMutableComplexProperty, String)

Bir JSON sütununa eşlenen bir varlığın verilen karmaşık özelliği için kullanılan JSON özellik adının değerini ayarlar.

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

Bir JSON sütununa eşlenen bir varlığın verilen karmaşık özelliği için kullanılan JSON özellik adının değerini ayarlar.

SetJsonPropertyName(IMutableComplexProperty, String)

Kaynak:
RelationalComplexPropertyExtensions.cs
Kaynak:
RelationalComplexPropertyExtensions.cs

Bir JSON sütununa eşlenen bir varlığın verilen karmaşık özelliği için kullanılan JSON özellik adının değerini ayarlar.

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)

Parametreler

complexProperty
IMutableComplexProperty

Karmaşık özellik.

name
String

Kullanılacak ad.

Şunlara uygulanır

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

Kaynak:
RelationalComplexPropertyExtensions.cs
Kaynak:
RelationalComplexPropertyExtensions.cs

Bir JSON sütununa eşlenen bir varlığın verilen karmaşık özelliği için kullanılan JSON özellik adının değerini ayarlar.

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

Parametreler

complexProperty
IConventionComplexProperty

Karmaşık özellik.

name
String

Kullanılacak ad.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır