/// <summary> /// Deprecated Method for adding a new object to the main_content_item EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomain_content_item(main_content_item main_content_item) { base.AddObject("main_content_item", main_content_item); }
/// <summary> /// Create a new main_content_item object. /// </summary> /// <param name="page">Initial value of the page property.</param> /// <param name="controller">Initial value of the controller property.</param> /// <param name="action">Initial value of the action property.</param> public static main_content_item Createmain_content_item(global::System.String page, global::System.String controller, global::System.String action) { main_content_item main_content_item = new main_content_item(); main_content_item.page = page; main_content_item.controller = controller; main_content_item.action = action; return main_content_item; }