Пример #1
0
 protected GenericRepository(UnitOfWork uow)
 {
     _context = uow.MsgBlasterContext;
     _dbSet   = _context.Set <TEntity>();
     _uow     = uow;
 }
Пример #2
0
 public UnitOfWork()
 {
     _disposed = false;
     _context  = new MsgBlasterContext();
 }