Delen via


RelationalPropertyExtensions.GetJsonPropertyName(IReadOnlyProperty) Method

Definition

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

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

Parameters

property
IReadOnlyProperty

The property.

Returns

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

Remarks

Unless configured explicitly, entity property name is used.

Applies to