Example #1
0
 public UnitOfWork(ClockContext fcontext)
 {
     this.context = fcontext;
 }
Example #2
0
 public GenericRepository(ClockContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Example #3
0
 public UnitOfWork()
 {
     this.context = new ClockContext();
 }