ETagPropertyConvention Class

Definition

A convention that adds etag metadata on the concurrency token, if present.

public class ETagPropertyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ETagPropertyConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class ETagPropertyConvention
Implements IModelFinalizingConvention
Inheritance
ETagPropertyConvention
Implements

Remarks

See Model building conventions, and Accessing Azure Cosmos DB with EF Core for more information and examples.

Constructors

ETagPropertyConvention()

Methods

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to