Exemple #1
0
        public void Update(int EmployeeID, DateTime RateChangeDate, decimal Rate, byte PayFrequency, DateTime ModifiedDate)
        {
            EmployeePayHistory item = new EmployeePayHistory();

            item.EmployeeID = EmployeeID;

            item.RateChangeDate = RateChangeDate;

            item.Rate = Rate;

            item.PayFrequency = PayFrequency;

            item.ModifiedDate = ModifiedDate;

            item.MarkOld();
            item.Save(UserName);
        }
Exemple #2
0
 public bool Destroy(object EmployeeID)
 {
     return(EmployeePayHistory.Destroy(EmployeeID) == 1);
 }
Exemple #3
0
 public bool Delete(object EmployeeID)
 {
     return(EmployeePayHistory.Delete(EmployeeID) == 1);
 }