Пример #1
0
 public CommonRepository(OADBContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Пример #2
0
 public WorkUnit()
 {
     this.db = new OADBContext();
 }