コード例 #1
0
 public void insertLocation(string locationName, string locationAddress, string startdate, string endDate, int securityNumbers, int supervisorNumbers, int managerNumbers, int workHours)
 {
     location   = new Location();
     locationDB = new LocationDB();
     location.setName(locationName);
     location.setAddress(locationAddress);
     location.setStartDate(startdate);
     location.setEndDate(endDate);
     location.setSecurityNumbers(securityNumbers);
     location.setSupervisorNumbers(supervisorNumbers);
     location.setManagerNumbers(managerNumbers);
     location.setWorkHours(workHours);
     locationDB.insertNewLocation(location);
 }