コード例 #1
0
 private void UpdateEmployee(EmployeeObjWrapper source, OEmployee target)
 {
     target.EmployeeID    = source.EmployeeID;
     target.GivenName     = source.GivenName;
     target.Surname       = source.Surname;
     target.Fullname      = source.Fullname;
     target.PositionTitle = source.PositionTitle;
     target.Department    = source.Department;
     target.Function      = source.Function;
 }
コード例 #2
0
 private void CopyEmployee(OEmployee source, EmployeeObjWrapper target)
 {
     target.Id = source.Id;
     if (this.IsEditMode)
     {
         target.EmployeeID    = source.EmployeeID;
         target.GivenName     = source.GivenName;
         target.Surname       = source.Surname;
         target.Fullname      = source.Fullname;
         target.PositionTitle = source.PositionTitle;
         target.Department    = source.Department;
         target.Function      = source.Function;
     }
 }
コード例 #3
0
 public void ClearEmployee()
 {
     _edtEmployee = null;
     _Employee    = null;
 }