Exemplo n.º 1
0
 public EfCrudableRepository(
     ICreatableDAL <CrudableTable> creatableDAL, IUpdatableDAL <CrudableTable> updatableDAL,
     IRemovableDAL <CrudableTable> removableDAL, IReadableDAL <CrudableTable> readableDAL)
 {
     this.creatableDAL = creatableDAL;
     this.updatableDAL = updatableDAL;
     this.removableDAL = removableDAL;
     this.readableDAL  = readableDAL;
 }
Exemplo n.º 2
0
 public EfPrivilegeRepository(
     ICreatableDAL <Privilege> creatableDAL, IUpdatableDAL <Privilege> updatableDAL,
     IReadableDAL <Privilege> readableDAL, YoklamaDbContext db)
 {
     this.creatableDAL = creatableDAL;
     this.updatableDAL = updatableDAL;
     this.readableDAL  = readableDAL;
     this.db           = db;
 }