IReadOnlyModel.GetChangeTrackingStrategy Method

Definition

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.

C#
public Microsoft.EntityFrameworkCore.ChangeTrackingStrategy GetChangeTrackingStrategy ();

Returns

The change tracking strategy.

Remarks

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

Applies to

Proizvod Verzije
Entity Framework Core 6.0, 7.0, 8.0, 9.0