12 lines
576 B
C#
12 lines
576 B
C#
|
using System.Data;
|
|||
|
|
|||
|
namespace FruityFoundation.DataAccess.Abstractions;
|
|||
|
|
|||
|
public interface INonTransactionalDbConnection<TConnectionType> : IDatabaseConnection<TConnectionType>, IDisposable, IAsyncDisposable
|
|||
|
where TConnectionType : ConnectionType
|
|||
|
{
|
|||
|
public Task<IDatabaseTransactionConnection<TConnectionType>> CreateTransaction();
|
|||
|
public Task<IDatabaseTransactionConnection<TConnectionType>> CreateTransaction(IsolationLevel isolationLevel);
|
|||
|
public Task<IDatabaseTransactionConnection<TConnectionType>> CreateTransaction(IsolationLevel isolationLevel, bool deferred);
|
|||
|
}
|