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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework