예제 #1
0
 public UnitOfWork()
 {
     ctx = new BenivoContext();
 }
예제 #2
0
 public GroupRepository(BenivoContext context)
     : base(context)
 {
     this.context = context;
 }
예제 #3
0
 public UserRepository(BenivoContext context)
     : base(context)
 {
     this.context = context;
 }
예제 #4
0
 public GenericRepository(BenivoContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }