/// <summary> /// Deprecated Method for adding a new object to the RouteGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRouteGroups(RouteGroup routeGroup) { base.AddObject("RouteGroups", routeGroup); }
/// <summary> /// Create a new RouteGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="commuterId">Initial value of the CommuterId property.</param> public static RouteGroup CreateRouteGroup(global::System.Int32 id, global::System.String description, global::System.Int32 commuterId) { RouteGroup routeGroup = new RouteGroup(); routeGroup.Id = id; routeGroup.Description = description; routeGroup.CommuterId = commuterId; return routeGroup; }