/// <summary> /// Deprecated Method for adding a new object to the Attendances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAttendances(Attendance attendance) { base.AddObject("Attendances", attendance); }
/// <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; }