RelationalEntityTypeExtensions.GetJsonPropertyName 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.IReadOnlyEntityType entityType);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetJsonPropertyName (entityType As IReadOnlyEntityType) As String

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

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

Remarks

Unless configured explicitly, navigation name is used.

Applies to