Example #1
0
 public void UpdateAholaClockPunchesDB(AholaClockPunchesDataSet aAholaClockPunchesDataSet)
 {
     try
     {
         aAholaClockPunchesTableAdapter = new AholaClockPunchesDataSetTableAdapters.aholaclockpunchesTableAdapter();
         aAholaClockPunchesTableAdapter.Update(aAholaClockPunchesDataSet.aholaclockpunches);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Employee Punched Hours Class // Update Ahola Clock Punches DB " + Ex.Message);
     }
 }
Example #2
0
        public AholaClockPunchesDataSet GetAholaClockPunchesInfo()
        {
            try
            {
                aAholaClockPunchesDataSet      = new AholaClockPunchesDataSet();
                aAholaClockPunchesTableAdapter = new AholaClockPunchesDataSetTableAdapters.aholaclockpunchesTableAdapter();
                aAholaClockPunchesTableAdapter.Fill(aAholaClockPunchesDataSet.aholaclockpunches);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Employee Punched Hours Class // Get Ahola Clock Punches Info " + Ex.Message);
            }

            return(aAholaClockPunchesDataSet);
        }