Example #1
0
 public static int AddSubmission(HOMEWORK_SUBMISSION_LIST newSubmission)
 {
     try { return(WillORM.InsertRecord(newSubmission)); }
     catch { return(0); }
 }
Example #2
0
 public static int CreateStudent(STUDENT student)
 {
     try { return(WillORM.InsertRecord(student)); }
     catch { return(0); }
 }
Example #3
0
 public static int AddType(HOMEWORK_TYPE newType)
 {
     try { return(WillORM.InsertRecord(newType)); }
     catch { return(0); }
 }
Example #4
0
 public static int AddWork(HOMEWORK newWork)
 {
     try { return(WillORM.InsertRecord(newWork)); }
     catch { return(0); }
 }
Example #5
0
 public static int AddGroupStudentMap(STUDENT_GROUP_STUDENT_LIST newMap)
 {
     int newMap_id = WillORM.InsertRecord(newMap); return(newMap_id > 0 ? newMap_id : 0);
 }
Example #6
0
 public static int AddRecord(object newRecord)
 {
     try { return(WillORM.InsertRecord(newRecord)); }
     catch { return(0); }
 }
Example #7
0
 public static int CreateGroup(STUDENT_GROUP newGroup)
 {
     int newGroup_id = WillORM.InsertRecord(newGroup); return(newGroup_id > 0 ? newGroup_id : 0);
 }
Example #8
0
 public static int AddClass(QE_CLASS newClass)
 {
     try { return(WillORM.InsertRecord(newClass)); }
     catch { return(0); }
 }
Example #9
0
 public static int CreateClassStudentMap(CLASS_STUDENT_LIST newMap)
 {
     int newMap_id = 0; newMap_id = WillORM.InsertRecord(newMap); return(newMap_id);
 }
Example #10
0
 public int addRecordReturnID(object newRecord)
 {
     try { return(WillORM.InsertRecord(newRecord)); }
     catch { return(0); }
 }
Example #11
0
 public bool addRecord(object newRecord)
 {
     try { return(WillORM.InsertRecord(newRecord) > 0? true:false); }
     catch { return(false); }
 }