ChangeTrackingStrategyConvention Class

Definition

A convention that sets a flag on the model to always skip detecting changes if no entity type is using the Snapshot strategy.

C#
public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
C#
public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
Inheritance
ChangeTrackingStrategyConvention
Implements

Remarks

See Model building conventions for more information and examples.

Constructors

Properties

Dependencies

Dependencies for this service.

Methods

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0