Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Attendances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAttendances(Attendance attendance)
 {
     base.AddObject("Attendances", attendance);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Attendance object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="attended">Initial value of the Attended property.</param>
 /// <param name="remarks">Initial value of the Remarks property.</param>
 public static Attendance CreateAttendance(global::System.Int32 id, global::System.Boolean attended, global::System.String remarks)
 {
     Attendance attendance = new Attendance();
     attendance.Id = id;
     attendance.Attended = attended;
     attendance.Remarks = remarks;
     return attendance;
 }