MemberEntry.IsModified Property
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.
For non-navigation properties, gets or sets a value indicating whether the value of this property has been modified and should be updated in the database when SaveChanges() is called.
public abstract bool IsModified { get; set; }
member this.IsModified : bool with get, set
Public MustOverride Property IsModified As Boolean
Property Value
Remarks
For navigation properties, gets or sets a value indicating whether any of foreign key property values associated with this navigation property have been modified and should be updated in the database when SaveChanges() is called.
See Accessing tracked entities in EF Core for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för