CosmosComplexPropertyExtensions.GetJsonPropertyName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在鎖定 Cosmos 時,回傳該物件所映射的屬性名稱。
public static string GetJsonPropertyName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty property);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty -> string
<Extension()>
Public Function GetJsonPropertyName (property As IReadOnlyComplexProperty) As String
參數
- property
- IReadOnlyComplexProperty
屬性。
傳回
在鎖定 Cosmos 時,回傳該物件所映射的屬性名稱。