public UnitOfWork() { this.context = new EveryPayContext(); }
public CustomSupplierFieldRepository(EveryPayContext context) { this.context = context; this.dbSet = context.Set <SupplierField>(); GenericRepository = new GenericRepository <SupplierField>(context); }
public UnitOfWork(EveryPayContext aContext) { this.context = aContext; }
public GenericRepository(EveryPayContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }