/// <summary> /// Deprecated Method for adding a new object to the VRouteItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVRouteItems(VRouteItem vRouteItem) { base.AddObject("VRouteItems", vRouteItem); }
/// <summary> /// Create a new VRouteItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="typeId">Initial value of the TypeId property.</param> /// <param name="route">Initial value of the Route property.</param> /// <param name="position">Initial value of the Position property.</param> public static VRouteItem CreateVRouteItem(global::System.Guid id, global::System.String typeId, global::System.String route, global::System.Int32 position) { VRouteItem vRouteItem = new VRouteItem(); vRouteItem.Id = id; vRouteItem.TypeId = typeId; vRouteItem.Route = route; vRouteItem.Position = position; return vRouteItem; }