/// <summary>
 /// Create a new result object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="results">Initial value of the results property.</param>
 /// <param name="mark">Initial value of the Mark property.</param>
 /// <param name="attendance">Initial value of the Attendance property.</param>
 public static result Createresult(global::System.Int32 id, global::System.String results, global::System.String mark, global::System.String attendance)
 {
     result result = new result();
     result.id = id;
     result.results = results;
     result.Mark = mark;
     result.Attendance = attendance;
     return result;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the results EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToresults(result result)
 {
     base.AddObject("results", result);
 }