Share via


IMutableTypeBase.SetChangeTrackingStrategy Method

Definition

Sets the change tracking strategy to use for this type. This strategy indicates how the context detects changes to properties for an instance of the type.

public void SetChangeTrackingStrategy (Microsoft.EntityFrameworkCore.ChangeTrackingStrategy? changeTrackingStrategy);
abstract member SetChangeTrackingStrategy : Nullable<Microsoft.EntityFrameworkCore.ChangeTrackingStrategy> -> unit
Public Sub SetChangeTrackingStrategy (changeTrackingStrategy As Nullable(Of ChangeTrackingStrategy))

Parameters

changeTrackingStrategy
Nullable<ChangeTrackingStrategy>

The strategy to use.

Applies to