UpdatingIdentityResolutionInterceptor Class
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.
A IIdentityResolutionInterceptor that copies property values from the new entity instance into the tracked entity instance.
public class UpdatingIdentityResolutionInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.IIdentityResolutionInterceptor
type UpdatingIdentityResolutionInterceptor = class
interface IIdentityResolutionInterceptor
interface IInterceptor
Public Class UpdatingIdentityResolutionInterceptor
Implements IIdentityResolutionInterceptor
- Inheritance
-
UpdatingIdentityResolutionInterceptor
- Implements
Updating |
Creates a new instance of the interceptor. |
Update |
Called when a DbContext attempts to track a new instance of an entity with the same primary key value as an already tracked instance. This implementation copies property values from the new entity instance into the tracked entity instance. |
Produkt | Versioner |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: