コード例 #1
0
ファイル: Reference.cs プロジェクト: marek2222/WebServices
 public int GetEmployee(string LicenseKey, int EmployeeId, out string Name, out string Gender, out System.DateTime DOB, out Client.EmployeeService1.EmployeeType Type, out int AnnualSalary, out int HourlyPay, out int HoursWorked)
 {
     Client.EmployeeService1.EmployeeRequest inValue = new Client.EmployeeService1.EmployeeRequest();
     inValue.LicenseKey = LicenseKey;
     inValue.EmployeeId = EmployeeId;
     Client.EmployeeService1.EmployeeInfo retVal = ((Client.EmployeeService1.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);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: marek2222/WebServices
 public System.Threading.Tasks.Task <Client.EmployeeService1.EmployeeInfo> GetEmployeeAsync(Client.EmployeeService1.EmployeeRequest request)
 {
     return(base.Channel.GetEmployeeAsync(request));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: marek2222/WebServices
 Client.EmployeeService1.EmployeeInfo Client.EmployeeService1.IEmployeeService.GetEmployee(Client.EmployeeService1.EmployeeRequest request)
 {
     return(base.Channel.GetEmployee(request));
 }