예제 #1
0
 public UnitOfWork(SqlServerDbContext ctx)
 {
     _ctx         = ctx;
     izinTanimDal = new IzinTanimDal(_ctx);
     izinTipiDal  = new IzinTipiDal(_ctx);
     izinTalepDal = new IzinTalepDal(_ctx);
 }
예제 #2
0
 public Repository(SqlServerDbContext ctx)
 {
     _ctx       = ctx;
     this.dbSet = _ctx.Set <T>();
 }
예제 #3
0
 public IzinTanimDal(SqlServerDbContext ctx) : base(ctx)
 {
     _ctx = ctx;
 }