RelationalPropertyExtensions.GetJsonPropertyNameConfigurationSource 方法

定義

ConfigurationSource取得指定實體屬性之 JSON 屬性名稱的 。

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

參數

property
IConventionProperty

屬性。

傳回

ConfigurationSource指定實體屬性之 JSON 屬性名稱的 。

適用於