CosmosComplexPropertyExtensions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Cosmos 元資料的複雜屬性擴展方法。
[System.Runtime.CompilerServices.Nullable(0)]
public static class CosmosComplexPropertyExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosComplexPropertyExtensions = class
Public Module CosmosComplexPropertyExtensions
- 繼承
-
CosmosComplexPropertyExtensions
- 屬性
備註
更多資訊與範例請參見複雜類型及使用 EF Core 存取 Azure Cosmos DB。
方法
| 名稱 | Description |
|---|---|
| GetJsonPropertyName(IReadOnlyComplexProperty) |
在鎖定 Cosmos 時,回傳該物件所映射的屬性名稱。 |
| SetJsonPropertyName(IMutableComplexProperty, String) |
設定該物件在鎖定 Cosmos 時所映射的屬性名稱。 |