Exemple #1
0
 public UnitOfWork(CWheelsDbContext context)
 {
     _context   = context;
     Categories = new CategoryRepository(_context);
     Accounts   = new AccountsRepository(_context);
     Vehicles   = new VehicleRepository(_context);
     Thumbnails = new ThumbnailRepository(_context);
 }
 public CategoryRepository(CWheelsDbContext context) : base(context)
 {
 }
 public ThumbnailRepository(CWheelsDbContext context) : base(context)
 {
 }
 public VehicleRepository(CWheelsDbContext context) : base(context)
 {
 }
Exemple #5
0
 public AccountsRepository(CWheelsDbContext context) : base(context)
 {
 }