IReadOnlyModel.GetChangeTrackingStrategy Method


Gets the default change tracking strategy being used for entities in the model. This strategy indicates how the context detects changes to properties for an instance of an entity type.

public Microsoft.EntityFrameworkCore.ChangeTrackingStrategy GetChangeTrackingStrategy ();
abstract member GetChangeTrackingStrategy : unit -> Microsoft.EntityFrameworkCore.ChangeTrackingStrategy
Public Function GetChangeTrackingStrategy () As ChangeTrackingStrategy


The change tracking strategy.


See Modeling entity types and relationships for more information and examples.

Applies to