/// <summary> /// Deprecated Method for adding a new object to the Routes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoutes(Route route) { base.AddObject("Routes", route); }
/// <summary> /// Create a new Route object. /// </summary> /// <param name="routeID">Initial value of the RouteID property.</param> public static Route CreateRoute(global::System.Int32 routeID) { Route route = new Route(); route.RouteID = routeID; return route; }