public EfProductRepository(ProductsDbContext context) : base(context)
 {
 }
Пример #2
0
 public EfGenericRepository(ProductsDbContext ctx)
 {
     context = ctx;
 }
Пример #3
0
 public EfUnitOfWork(ProductsDbContext _productsDbContext)
 {
     productsDbContext = _productsDbContext ?? throw new ArgumentNullException("dbcontext can not be null");
 }