SaveChangesInterceptorBase
SaveChangesInterceptorBase()
AsyncCalled
CanceledCalled
ConcurrencyExceptionCalled
Context
Entries
Exception
FailedCalled
SavedChangesCalled
SavingChangesCalled
SyncCalled
SaveChangesCanceled(DbContextEventData)
SaveChangesCanceledAsync(DbContextEventData, CancellationToken)
SaveChangesFailed(DbContextErrorEventData)
SaveChangesFailedAsync(DbContextErrorEventData, CancellationToken)
SavedChanges(SaveChangesCompletedEventData, Int32)
SavedChangesAsync(SaveChangesCompletedEventData, Int32, CancellationToken)
SavingChanges(DbContextEventData, InterceptionResult<Int32>)
SavingChangesAsync(DbContextEventData, InterceptionResult<Int32>, CancellationToken)
ThrowingConcurrencyException(ConcurrencyExceptionEventData, InterceptionResult)
ThrowingConcurrencyExceptionAsync(ConcurrencyExceptionEventData, InterceptionResult, CancellationToken)
net10.0-windows7.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class SaveChangesInterceptionTestBase : InterceptionTestBase
{
protected abstract class SaveChangesInterceptorBase : IInterceptor, ISaveChangesInterceptor
{
public virtual int SavedChanges(SaveChangesCompletedEventData eventData, int result);
}
}
}
.NET | 9.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.EntityFrameworkCore.Specification.Tests , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Specification.Tests (9.0.3) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API