CosmosPropertyExtensions.GetJsonPropertyName 方法

定義

多載

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 為目標時,屬性所對應的屬性名稱。

適用於