示例#1
0
 public static void LoadObject2(string Title, Staff staff, ref List<Utilities> output)
 {
     Utilities atc = new Utilities();
     atc.Username = staff.Username;
     atc.StaffID = staff.StaffID;
     atc.StaffName = staff.Name.ToUpper();
     atc.ConfirmStatus = "NOT CONFIRM";
     atc.TrainingTitle = Title.ToUpper();
     output.Add(atc);
 }
示例#2
0
 private static void LoadObject3(Staff supervisor, Staff staff, string Title, int ID, ref List<Utilities> output)
 {
     Utilities pta = new Utilities();
     pta.Username = supervisor.Username;
     pta.StaffID = supervisor.StaffID;
     pta.StaffName = supervisor.Name.ToUpper();
     pta.StaffUnderID = staff.StaffID;
     pta.StaffUnderName = staff.Name.ToUpper();
     pta.PTAStatus = "NOT COMPLETED";
     pta.TrainingTitle = Title.ToUpper();
     pta.EventDateID = ID;
     output.Add(pta);
 }
示例#3
0
 public static void LoadObject1(Staff staff, string Title, int ID, ref List<Utilities> output)
 {
     Utilities uc = new Utilities();
     uc.Username = staff.Username;
     uc.StaffID = staff.StaffID;
     uc.StaffName = staff.Name.ToUpper();
     uc.CEFStatus = "NOT COMPLETED";
     uc.TrainingTitle = Title.ToUpper();
     uc.EventDateID = ID;
     output.Add(uc);
 }