UpdatingIdentityResolutionInterceptor(Boolean, Boolean) Constructor
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.
Creates a new instance of the interceptor.
public UpdatingIdentityResolutionInterceptor (bool preserveModifiedValues = false, bool updateOriginalValues = false);
new Microsoft.EntityFrameworkCore.Diagnostics.UpdatingIdentityResolutionInterceptor : bool * bool -> Microsoft.EntityFrameworkCore.Diagnostics.UpdatingIdentityResolutionInterceptor
Public Sub New (Optional preserveModifiedValues As Boolean = false, Optional updateOriginalValues As Boolean = false)
Parameters
- preserveModifiedValues
- Boolean
If true
, then values for properties marked as modified in the current instance will
not be updated by values from the new instance.
- updateOriginalValues
- Boolean
If true
, then both current and original values of the current instance are updated to
current values from the new instance.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for