using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain
{
public interface IDapperContext : IDisposable
{
///
/// Indicates if transaction is started.
///
bool IsTransactionStarted { get; }
///
/// Begins transaction.
///
void BeginTransaction();
///
/// Commits operations of transaction.
///
void Commit();
///
/// Rollbacks operations of transaction.
///
void Rollback();
}
}