﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jewels.DAO.Repositories
{
    public class BaseRepository
    {
        protected IDbTransaction Transation { get; private set; }

        protected IDbConnection Connection { get { return Transation.Connection; } }

        public BaseRepository(IDbTransaction transation)
        {
            Transation = transation;
        }
    }
}
