SaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé lorsqu’une exception a été levée dans DbContext.SaveChanges.
public virtual void SaveChangesFailed(Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData eventData);
abstract member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
override this.SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
Public Overridable Sub SaveChangesFailed (eventData As DbContextErrorEventData)
Paramètres
- eventData
- DbContextErrorEventData
Informations contextuelles sur l’échec.