Condividi tramite


ISaveChangesInterceptor.SaveChangesFailed(DbContextErrorEventData) Metodo

Definizione

Chiamato quando è stata generata un'eccezione in DbContext.SaveChanges.

public void SaveChangesFailed (Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData eventData);
public virtual void SaveChangesFailed (Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData eventData);
abstract member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
abstract member SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
override this.SaveChangesFailed : Microsoft.EntityFrameworkCore.Diagnostics.DbContextErrorEventData -> unit
Public Sub SaveChangesFailed (eventData As DbContextErrorEventData)
Public Overridable Sub SaveChangesFailed (eventData As DbContextErrorEventData)

Parametri

eventData
DbContextErrorEventData

Informazioni contestuali sull'errore.

Si applica a