語言

CosmosPropertyExtensions.GetJsonPropertyNameConfigurationSource 方法

定義

取得 ConfigurationSource 該物件所映射的物件名稱,當目標為 Cosmos 時。

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 該物件在鎖定 Cosmos 時所映射的物件名稱。

適用於