FruityFoundation/FruityFoundation.DataAccess.Abstractions/IDatabaseTransactionConnection.cs
2024-06-23 18:15:32 -04:00

9 lines
357 B
C#

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);
}