public RoleRepository(BUSTAPContext context) : base(context) { }
public WalletRepository(BUSTAPContext context) : base(context) { }
public IDPaperRepository(BUSTAPContext context) : base(context) { }
public UserRepository(BUSTAPContext context) : base(context) { }
public ApplyPriceTypeRepository(BUSTAPContext context) : base(context) { }
private static readonly int BulkSize = 1000; //https://stackoverflow.com/questions/5940225/fastest-way-of-inserting-in-entity-framework public Repository(BUSTAPContext context) { _context = context; _unitOfWork = new UnitOfWork(context); }
public TransactionRepository(BUSTAPContext context) : base(context) { }
public UnitOfWork(BUSTAPContext dbContext) { _dbContext = dbContext; }