예제 #1
0
 public UnitOfWork(KekContext context)
 {
     _context = context;
     Cookers  = new CookerRepository(_context);
     Orders   = new OrderRepository(_context);
     Sushies  = new SushiRepository(_context);
 }
예제 #2
0
 public SushiRepository(KekContext context) : base(context)
 {
 }
예제 #3
0
 public OrderRepository(KekContext context) : base(context)
 {
 }
예제 #4
0
 public CookerRepository(KekContext context) : base(context)
 {
 }