예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Takes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTakes(Take take)
 {
     base.AddObject("Takes", take);
 }
예제 #2
0
 /// <summary>
 /// Create a new Take object.
 /// </summary>
 /// <param name="student_id">Initial value of the student_id property.</param>
 /// <param name="class_id">Initial value of the class_id property.</param>
 /// <param name="semester_id">Initial value of the semester_id property.</param>
 /// <param name="waitlist_status">Initial value of the waitlist_status property.</param>
 public static Take CreateTake(global::System.String student_id, global::System.Int32 class_id, global::System.String semester_id, global::System.Boolean waitlist_status)
 {
     Take take = new Take();
     take.student_id = student_id;
     take.class_id = class_id;
     take.semester_id = semester_id;
     take.waitlist_status = waitlist_status;
     return take;
 }