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 时,属性映射到的属性名称。

适用于