/// <summary>
 /// Deprecated Method for adding a new object to the studentattendances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostudentattendances(studentattendance studentattendance)
 {
     base.AddObject("studentattendances", studentattendance);
 }
 /// <summary>
 /// Create a new studentattendance object.
 /// </summary>
 /// <param name="studentId">Initial value of the StudentId property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 public static studentattendance Createstudentattendance(global::System.Int32 studentId, global::System.DateTime date)
 {
     studentattendance studentattendance = new studentattendance();
     studentattendance.StudentId = studentId;
     studentattendance.Date = date;
     return studentattendance;
 }