RelationalTypeBaseExtensions.GetJsonPropertyName(IReadOnlyTypeBase) Method

Definition

Gets the value of JSON property name used for the given entity mapped to a JSON column.

public static string? GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> string
<Extension()>
Public Function GetJsonPropertyName (typeBase As IReadOnlyTypeBase) As String

Parameters

typeBase
IReadOnlyTypeBase

The type.

Returns

The value for the JSON property used to store this type. null is returned for entities that are not mapped to a JSON column.

Remarks

Unless configured explicitly, navigation name is used.

Applies to