Inheritance: System.Data.Entity.Core.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the Discipline EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDiscipline(Discipline discipline)
 {
     base.AddObject("Discipline", discipline);
 }
 /// <summary>
 /// Create a new Discipline object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="semester">Initial value of the semester property.</param>
 public static Discipline CreateDiscipline(global::System.Int32 id, global::System.String name, global::System.Int32 semester)
 {
     Discipline discipline = new Discipline();
     discipline.id = id;
     discipline.name = name;
     discipline.semester = semester;
     return discipline;
 }