/// <summary>
 /// Deprecated Method for adding a new object to the Professions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfessions(Profession profession)
 {
     base.AddObject("Professions", profession);
 }
 /// <summary>
 /// Create a new Profession object.
 /// </summary>
 /// <param name="professionID">Initial value of the ProfessionID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Profession CreateProfession(global::System.Int32 professionID, global::System.String name)
 {
     Profession profession = new Profession();
     profession.ProfessionID = professionID;
     profession.Name = name;
     return profession;
 }