IReadOnlyModel.GetChangeTrackingStrategy Method
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.
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
Returns
The change tracking strategy.
Remarks
See Modeling entity types and relationships for more information and examples.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework