RelationalComplexPropertyExtensions.GetJsonPropertyName 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 complex property of an entity mapped to a JSON column.
public static string? GetJsonPropertyName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty complexProperty);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty -> string
<Extension()>
Public Function GetJsonPropertyName (complexProperty As IReadOnlyComplexProperty) As String
Parameters
- complexProperty
- IReadOnlyComplexProperty
The complex property.
Returns
The value for the JSON property used to store the value of this complex property.
null is returned for complex properties of entities that are not mapped to a JSON column.
Remarks
Unless configured explicitly, complex property name is used.