コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the timetable_request EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotimetable_request(timetable_request timetable_request)
 {
     base.AddObject("timetable_request", timetable_request);
 }
コード例 #2
0
 /// <summary>
 /// Create a new timetable_request object.
 /// </summary>
 /// <param name="request_ID">Initial value of the Request_ID property.</param>
 /// <param name="department_Code">Initial value of the Department_Code property.</param>
 /// <param name="part_Code">Initial value of the Part_Code property.</param>
 /// <param name="module_Code">Initial value of the Module_Code property.</param>
 /// <param name="day_ID">Initial value of the Day_ID property.</param>
 /// <param name="start_Time">Initial value of the Start_Time property.</param>
 /// <param name="duration">Initial value of the Duration property.</param>
 /// <param name="number_Students">Initial value of the Number_Students property.</param>
 /// <param name="number_Rooms">Initial value of the Number_Rooms property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 /// <param name="room_Type">Initial value of the Room_Type property.</param>
 /// <param name="park_ID">Initial value of the Park_ID property.</param>
 /// <param name="custom_Comments">Initial value of the Custom_Comments property.</param>
 /// <param name="current_Year">Initial value of the Current_Year property.</param>
 /// <param name="current_Semester">Initial value of the Current_Semester property.</param>
 /// <param name="current_Round">Initial value of the Current_Round property.</param>
 /// <param name="request_Status">Initial value of the Request_Status property.</param>
 public static timetable_request Createtimetable_request(global::System.Int16 request_ID, global::System.String department_Code, global::System.String part_Code, global::System.String module_Code, global::System.Byte day_ID, global::System.Byte start_Time, global::System.Byte duration, global::System.Int32 number_Students, global::System.Byte number_Rooms, global::System.Byte priority, global::System.Int32 room_Type, global::System.Int32 park_ID, global::System.String custom_Comments, global::System.Int32 current_Year, global::System.Byte current_Semester, global::System.Byte current_Round, global::System.Byte request_Status)
 {
     timetable_request timetable_request = new timetable_request();
     timetable_request.Request_ID = request_ID;
     timetable_request.Department_Code = department_Code;
     timetable_request.Part_Code = part_Code;
     timetable_request.Module_Code = module_Code;
     timetable_request.Day_ID = day_ID;
     timetable_request.Start_Time = start_Time;
     timetable_request.Duration = duration;
     timetable_request.Number_Students = number_Students;
     timetable_request.Number_Rooms = number_Rooms;
     timetable_request.Priority = priority;
     timetable_request.Room_Type = room_Type;
     timetable_request.Park_ID = park_ID;
     timetable_request.Custom_Comments = custom_Comments;
     timetable_request.Current_Year = current_Year;
     timetable_request.Current_Semester = current_Semester;
     timetable_request.Current_Round = current_Round;
     timetable_request.Request_Status = request_Status;
     return timetable_request;
 }