/// <summary> /// Deprecated Method for adding a new object to the Crews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCrews(Crew crew) { base.AddObject("Crews", crew); }
/// <summary> /// Create a new Crew object. /// </summary> /// <param name="crewID">Initial value of the CrewID property.</param> public static Crew CreateCrew(global::System.Int16 crewID) { Crew crew = new Crew(); crew.CrewID = crewID; return crew; }