예제 #1
0
 public UnitOfWork(PKShopContext context)
 {
     _context = context;
 }
예제 #2
0
 public Repository(PKShopContext context)
 {
     _context = context;
     _entity  = context.Set <T>();
 }
예제 #3
0
 public ProductRepository(PKShopContext context)
     : base(context)
 {
 }