/// <summary> /// Deprecated Method for adding a new object to the Occupations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOccupations(Occupation occupation) { base.AddObject("Occupations", occupation); }
/// <summary> /// Create a new Occupation object. /// </summary> /// <param name="occupID">Initial value of the OccupID property.</param> public static Occupation CreateOccupation(global::System.Int32 occupID) { Occupation occupation = new Occupation(); occupation.OccupID = occupID; return occupation; }