语言

RelationalComplexPropertyExtensions.GetJsonPropertyNameConfigurationSource 方法

定义

获取 ConfigurationSource 给定复杂属性的 JSON 属性名称。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetJsonPropertyNameConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty complexProperty);
static member GetJsonPropertyNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetJsonPropertyNameConfigurationSource (complexProperty As IConventionComplexProperty) As Nullable(Of ConfigurationSource)

参数

complexProperty
IConventionComplexProperty

复杂属性。

返回

给定 ConfigurationSource 复杂属性的 JSON 属性名称。

适用于