ChangeTrackingStrategyConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A convention that sets a flag on the model to always skip detecting changes if no entity type is using the Snapshot strategy.
public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ChangeTrackingStrategyConvention = class
interface IModelFinalizedConvention
interface IConvention
type ChangeTrackingStrategyConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class ChangeTrackingStrategyConvention
Implements IModelFinalizedConvention
Public Class ChangeTrackingStrategyConvention
Implements IModelFinalizingConvention
- Inheritance
-
ChangeTrackingStrategyConvention
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
ChangeTrackingStrategyConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of ChangeTrackingStrategyConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is finalized. |
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework