FruityFoundation/FruityFoundation.DataAccess.Abstractions/IDatabaseTransactionConnection.cs

9 lines
357 B
C#
Raw Normal View History

2024-06-23 18:15:32 -04:00
namespace FruityFoundation.DataAccess.Abstractions;
public interface IDatabaseTransactionConnection<out TConnectionType> : IDatabaseConnection<TConnectionType>, IDisposable, IAsyncDisposable
where TConnectionType : ConnectionType
{
public Task Commit(CancellationToken cancellationToken);
public Task Rollback(CancellationToken cancellationToken);
}