/// <summary> /// Deprecated Method for adding a new object to the Coaches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCoaches(Coach coach) { base.AddObject("Coaches", coach); }
/// <summary> /// Create a new Coach object. /// </summary> /// <param name="coachID">Initial value of the CoachID property.</param> public static Coach CreateCoach(global::System.Int32 coachID) { Coach coach = new Coach(); coach.CoachID = coachID; return coach; }