Exemplo n.º 1
0
 public UnitOfWork(ESDatabaseContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException("Context was not supplied");
     }
     _context = context;
 }
Exemplo n.º 2
0
 public OrderRepository(ESDatabaseContext context)
     : base(context)
 {
 }
Exemplo n.º 3
0
 public ItemRepository(ESDatabaseContext context)
     : base(context)
 {
 }
Exemplo n.º 4
0
 public CartRepository(ESDatabaseContext context)
     : base(context)
 {
 }
Exemplo n.º 5
0
 public Repository(ESDatabaseContext context)
 {
     //_objectSet = context.CreateObjectSet<T>();
     _dbSet = context.Set <T>();
 }