ETagPropertyConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果存在,則會在並行權杖上新增 etag 中繼資料的慣例。
public class ETagPropertyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ETagPropertyConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class ETagPropertyConvention
Implements IModelFinalizingConvention
- 繼承
-
ETagPropertyConvention
- 實作
備註
如需詳細資訊和範例,請參閱使用 EF Core 建立模型慣例和 存取 Azure Cosmos DB 。
建構函式
ETagPropertyConvention() |
如果存在,則會在並行權杖上新增 etag 中繼資料的慣例。 |
方法
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
在完成模型時呼叫。 |