Пример #1
0
 public UnitOfWork(EmsDevEntities context)
 {
     this.context = context;
 }
Пример #2
0
 public GenericRepository(EmsDevEntities context)
 {
     this._context = context;
     this._dbSet   = context.Set <TEntity>();
 }
Пример #3
0
 public UnitOfWork()
 {
     this.context = new EmsDevEntities();
 }