Exemplo n.º 1
0
        //ctor
        public UnitOfWorkEF(ApexDBContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("Context was not supplied");
            }

            _context = context;
        }
Exemplo n.º 2
0
 public UserRepository(ApexDBContext context) : base(context)
 {
 }
Exemplo n.º 3
0
 public UnitOfWork(ApexDBContext context, IDbConnection connection)
 {
     _context    = context;
     _connection = connection;
 }
Exemplo n.º 4
0
 public UnitOfWork(ApexDBContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 //ctor
 public UnitOfWork()
 {
     _context    = new ApexDBContext();
     _connection = new SqlConnection(WebConfigHelper.ApexDbConnectionString);
 }
Exemplo n.º 6
0
 public BaseRepository(ApexDBContext dbContext)
 {
     _context = dbContext;
 }
Exemplo n.º 7
0
 public UserRepository(ApexDBContext context, IDbConnection connection)
 {
     _context    = context;
     _connection = connection;
 }