CosmosPropertyExtensions.GetJsonPropertyName 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetJsonPropertyName(IProperty) |
返回以 Cosmos 为目标时属性映射到的属性名称。 |
GetJsonPropertyName(IReadOnlyProperty) |
返回以 Cosmos 为目标时属性映射到的属性名称。 |
GetJsonPropertyName(IProperty)
返回以 Cosmos 为目标时属性映射到的属性名称。
public static string GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetJsonPropertyName (property As IProperty) As String
参数
- property
- IProperty
属性。
返回
返回以 Cosmos 为目标时属性映射到的属性名称。
适用于
GetJsonPropertyName(IReadOnlyProperty)
返回以 Cosmos 为目标时属性映射到的属性名称。
public static string GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetJsonPropertyName (property As IReadOnlyProperty) As String
参数
- property
- IReadOnlyProperty
属性。
返回
返回以 Cosmos 为目标时属性映射到的属性名称。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈