RelationalPropertyExtensions.GetJsonPropertyName(IReadOnlyProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework