RelationalComplexPropertyExtensions.SetJsonPropertyName メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| SetJsonPropertyName(IMutableComplexProperty, String) |
JSON 列にマップされたエンティティの指定された複合プロパティに使用される JSON プロパティ名の値を設定します。 |
| SetJsonPropertyName(IConventionComplexProperty, String, Boolean) |
JSON 列にマップされたエンティティの指定された複合プロパティに使用される JSON プロパティ名の値を設定します。 |
SetJsonPropertyName(IMutableComplexProperty, String)
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)
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
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
構成された値。