CosmosInversePropertyAttributeConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據其他導覽屬性上指定的 來設定反向導覽屬性 InversePropertyAttribute 的慣例。 所有導覽都假設是以 Cosmos 擁有的實體類型為目標。
public class CosmosInversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.InversePropertyAttributeConvention
type CosmosInversePropertyAttributeConvention = class
inherit InversePropertyAttributeConvention
Public Class CosmosInversePropertyAttributeConvention
Inherits InversePropertyAttributeConvention
- 繼承
-
CosmosInversePropertyAttributeConvention
備註
如需詳細資訊和範例,請參閱使用 EF Core 建立模型慣例和 存取 Azure Cosmos DB 。
建構函式
| CosmosInversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies) |
建立 InversePropertyAttributeConvention 的新執行個體。 |
屬性
| Dependencies |
此服務的相依性。 (繼承來源 NavigationAttributeConventionBase<TAttribute>) |