/// <summary> /// Deprecated Method for adding a new object to the Stations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStations(Station station) { base.AddObject("Stations", station); }
/// <summary> /// Create a new Station object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="phone">Initial value of the phone property.</param> /// <param name="location">Initial value of the location property.</param> public static Station CreateStation(global::System.Int32 id, global::System.Int32 phone, global::System.String location) { Station station = new Station(); station.id = id; station.phone = phone; station.location = location; return station; }