InMemoryTransaction
InMemoryTransaction()
TransactionId
Commit()
CommitAsync(CancellationToken)
Dispose()
DisposeAsync()
Rollback()
RollbackAsync(CancellationToken)
net10.0
namespace Microsoft.EntityFrameworkCore.InMemory.Storage.Internal
{
public class InMemoryTransaction : IDbContextTransaction, IAsyncDisposable, IDisposable
{
public virtual Task! CommitAsync(CancellationToken cancellationToken = default);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore.InMemory , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.InMemory (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API