RelationalEntityTypeExtensions.GetJsonPropertyNameConfigurationSource 方法

定义

ConfigurationSource获取给定实体类型的 JSON 属性名称的 。

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

参数

entityType
IConventionEntityType

实体类型。

返回

给定 ConfigurationSource 实体类型的 JSON 属性名称的 。

适用于