Пример #1
0
 public void saveEmployee(int ID, string Name, string Gender, System.DateTime DOB, EmployeeSerClient.EmployeeService.EmployeeType Type, int AnnualSalary, int HourlyPay, int HoursWorked)
 {
     EmployeeSerClient.EmployeeService.EmployeeInfo inValue = new EmployeeSerClient.EmployeeService.EmployeeInfo();
     inValue.ID           = ID;
     inValue.Name         = Name;
     inValue.Gender       = Gender;
     inValue.DOB          = DOB;
     inValue.Type         = Type;
     inValue.AnnualSalary = AnnualSalary;
     inValue.HourlyPay    = HourlyPay;
     inValue.HoursWorked  = HoursWorked;
     EmployeeSerClient.EmployeeService.saveEmployeeResponse retVal = ((EmployeeSerClient.EmployeeService.IEmployeeService)(this)).saveEmployee(inValue);
 }
Пример #2
0
 public int getEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out EmployeeSerClient.EmployeeService.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked)
 {
     EmployeeSerClient.EmployeeService.EmployeeRequest inValue = new EmployeeSerClient.EmployeeService.EmployeeRequest();
     inValue.LicenseKey = LicenseKey;
     inValue.EmployeeId = EmployeeId;
     EmployeeSerClient.EmployeeService.EmployeeInfo retVal = ((EmployeeSerClient.EmployeeService.IEmployeeService)(this)).getEmployee(inValue);
     Name         = retVal.Name;
     Gender       = retVal.Gender;
     DOB          = retVal.DOB;
     Type         = retVal.Type;
     AnnualSalary = retVal.AnnualSalary;
     HourlyPay    = retVal.HourlyPay;
     HoursWorked  = retVal.HoursWorked;
     return(retVal.ID);
 }
Пример #3
0
 EmployeeSerClient.EmployeeService.saveEmployeeResponse EmployeeSerClient.EmployeeService.IEmployeeService.saveEmployee(EmployeeSerClient.EmployeeService.EmployeeInfo request)
 {
     return(base.Channel.saveEmployee(request));
 }