Share via


RuntimeModel.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.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.ChangeTrackingStrategy IReadOnlyModel.GetChangeTrackingStrategy ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.GetChangeTrackingStrategy : unit -> Microsoft.EntityFrameworkCore.ChangeTrackingStrategy
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.GetChangeTrackingStrategy : unit -> Microsoft.EntityFrameworkCore.ChangeTrackingStrategy
Function GetChangeTrackingStrategy () As ChangeTrackingStrategy Implements IReadOnlyModel.GetChangeTrackingStrategy

Returns

The change tracking strategy.

Implements

Attributes

Applies to