public SalesReceiptTransaction(int empId, DateTime dateTime, double amount, IPayrollDatabase database) : base(database) { this.empId = empId; this.dateTime = dateTime; this.amount = amount; }
public TimeCardTransaction(DateTime date, double hours, int empId, IPayrollDatabase database) : base(database) { this.date = date; this.hours = hours; this.empId = empId; }
public AddEmployTransaction(int empId, string name, string address, IPayrollDatabase database) : base(database) { this.empId = empId; this.name = name; this.address = address; }
public SalesReceiptTransaction(DateTime time, double saleAmount, int empId, IPayrollDatabase database) : base(database) { this.date = time; this.saleAmount = saleAmount; this.empId = empId; }
public ServiceChargeTransaction(int id, DateTime time, double charge, IPayrollDatabase database) : base(database) { this.memberId = id; this.time = time; this.charge = charge; }
protected AddEmployeeTransaction(int empid, string name, string address, IPayrollDatabase database) : base(database) { _empid = empid; _name = name; _address = address; }
public AddEmployeePresenter(AddEmployeeView view, TransactionContainer container, IPayrollDatabase database) { this.view = view; this.transactionContainer = container; this.database = database; }
public PayrollPresenter(IPayrollDatabase database, ViewLoader viewLoader) { this.view = view; this.database = database; this.viewLoader = viewLoader; TransactionContainer.AddAction addAction = new TransactionContainer.AddAction(TransactionAdded); transactionContainer = new TransactionContainer(addAction); }
public Transaction(IPayrollDatabase database) { this.database = database; }
public ChangeSalariedTransaction(int id, double salary, IPayrollDatabase database) : base(id, database) { this.salary = salary; }
public DeleteEmployeeTransaction(int id, IPayrollDatabase database) : base(database) { this.id = id; }
public ChangeMailTransaction(int empId, IPayrollDatabase database) : base(empId, database) { }
public ChangeAddressTransaction(int empId, string newAddress, IPayrollDatabase database) : base(empId, database) { this.newAddress = newAddress; }
public ChangeHourlyTransaction(int id, double hourlyRate, IPayrollDatabase database) : base(id, database) { this.hourlyRate = hourlyRate; }
public ChangeNameTransaction(int id, string newName, IPayrollDatabase database) : base(id, database) { this.newName = newName; }
public ChangeMemberTransaction(int empId, int memberId, double dues, IPayrollDatabase database) : base(empId, database) { this.memberId = memberId; this.dues = dues; }
public AddHourlyEmployee(int id, string name, string address, double hourlyRate, IPayrollDatabase database) : base(id, name, address, database) { this.hourlyRate = hourlyRate; }
public ChangeEmployeeTransaction(int empId, IPayrollDatabase database) : base(database) { this.empId = empId; }
protected ChangeClassificationTransaction(int id, IPayrollDatabase database) : base(id, database) { }
public ChangeCommissionedTransaction(int id, double baseSalary, double commissionRate, IPayrollDatabase database) : base(id, database) { this.baseSalary = baseSalary; this.commissionRate = commissionRate; }
public ChangeAffiliationTransaction(int empId, IPayrollDatabase database) : base(empId, database) { }
public void SetUp() { database = new InMemoryPayrollDatabase(); viewLoader = new WindowViewLoader(database); }
public AddCommissionedEmployee(int id, string name, string address, double baseRate, double commissionRate, IPayrollDatabase database) : base(id, name, address, database) { this.baseRate = baseRate; this.commissionRate = commissionRate; }
protected Transaction(IPayrollDatabase database) { Database = database; }
public void SetUp() { database = new InMemoryPayrollDatabase(); }
public PaydayTransaction(DateTime payDate, IPayrollDatabase database) : base(database) { this.payDate = payDate; }
public AddSalariedEmployee(int id, string name, string address, double salary, IPayrollDatabase database) : base(id, name, address, database) { this.salary = salary; }
public WindowViewLoader(IPayrollDatabase database) { this.database = database; }
public ChangeClassificationTransaction(int empId, IPayrollDatabase database) : base(empId, database) { }
public AddCommissionedEmployee(int empId, string name, string address, double monthlySalary, double commissionRate, IPayrollDatabase database) : base(empId, name, address, database) { this.monthlySalary = monthlySalary; this.commissionRate = commissionRate; }