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); } }
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); }