Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Attendance object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="dateTime">Initial value of the DateTime property.</param>
 /// <param name="reason">Initial value of the Reason property.</param>
 /// <param name="activity_Section">Initial value of the Activity_Section property.</param>
 /// <param name="attendance_Client">Initial value of the Attendance_Client property.</param>
 public static Attendance CreateAttendance(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.DateTime dateTime, global::System.String reason, global::System.Int32 activity_Section, global::System.Int32 attendance_Client)
 {
     Attendance attendance = new Attendance();
     attendance.Id = id;
     attendance.RowVersion = rowVersion;
     attendance.DateTime = dateTime;
     attendance.Reason = reason;
     attendance.Activity_Section = activity_Section;
     attendance.Attendance_Client = attendance_Client;
     return attendance;
 }
Ejemplo n.º 2
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);
 }