語言

CosmosComplexPropertyExtensions 類別

定義

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 時所映射的屬性名稱。

適用於