RelationalEntityTypeExtensions.SetJsonPropertyName メソッド

定義

オーバーロード

SetJsonPropertyName(IMutableEntityType, String)

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

SetJsonPropertyName(IConventionEntityType, String, Boolean)

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

SetJsonPropertyName(IMutableEntityType, String)

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

public static void SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? name);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetJsonPropertyName (entityType As IMutableEntityType, name As String)

パラメーター

entityType
IMutableEntityType

エンティティの型。

name
String

使用する名前。

適用対象

SetJsonPropertyName(IConventionEntityType, String, Boolean)

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

public static string? SetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? name, bool fromDataAnnotation = false);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetJsonPropertyName (entityType As IConventionEntityType, name As String, Optional fromDataAnnotation As Boolean = false) As String

パラメーター

entityType
IConventionEntityType

エンティティの型。

name
String

使用する名前。

fromDataAnnotation
Boolean

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

戻り値

構成された値です。

適用対象