Language

RelationalComplexPropertyExtensions.SetJsonPropertyName メソッド

定義

オーバーロード

Name 説明
SetJsonPropertyName(IMutableComplexProperty, String)

JSON 列にマップされたエンティティの指定された複合プロパティに使用される JSON プロパティ名の値を設定します。

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

JSON 列にマップされたエンティティの指定された複合プロパティに使用される JSON プロパティ名の値を設定します。

SetJsonPropertyName(IMutableComplexProperty, String)

ソース:
RelationalComplexPropertyExtensions.cs
ソース:
RelationalComplexPropertyExtensions.cs

JSON 列にマップされたエンティティの指定された複合プロパティに使用される 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)

パラメーター

complexProperty
IMutableComplexProperty

複合プロパティ。

name
String

使用する名前。

適用対象

SetJsonPropertyName(IConventionComplexProperty, String, Boolean)

ソース:
RelationalComplexPropertyExtensions.cs
ソース:
RelationalComplexPropertyExtensions.cs

JSON 列にマップされたエンティティの指定された複合プロパティに使用される 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

パラメーター

complexProperty
IConventionComplexProperty

複合プロパティ。

name
String

使用する名前。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された値。

適用対象