/// <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="id">Initial value of the Id property.</param> public static Route CreateRoute(global::System.Int32 id) { Route route = new Route(); route.Id = id; return route; }