RelationalTypeBaseExtensions.GetJsonPropertyName(IReadOnlyTypeBase) 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework