using System.Data; using FruityFoundation.Base.Structures; namespace FruityFoundation.DataAccess.Abstractions; public interface INonTransactionalDbConnection : IDatabaseConnection, IDisposable, IAsyncDisposable where TConnectionType : ConnectionType { public Task> CreateTransaction(CancellationToken cancellationToken); public Task> CreateTransaction(IsolationLevel isolationLevel, CancellationToken cancellationToken); }