/// <summary>
 /// Deprecated Method for adding a new object to the Degrees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDegrees(Degree degree)
 {
     base.AddObject("Degrees", degree);
 }
 /// <summary>
 /// Create a new Degree object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="hours">Initial value of the Hours property.</param>
 public static Degree CreateDegree(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Int16 hours)
 {
     Degree degree = new Degree();
     degree.Id = id;
     degree.Name = name;
     degree.Description = description;
     degree.Hours = hours;
     return degree;
 }