/// <summary> /// Create a new menu object. /// </summary> /// <param name="menu_id">Initial value of the menu_id property.</param> /// <param name="menu_name">Initial value of the menu_name property.</param> /// <param name="menu_page">Initial value of the menu_page property.</param> /// <param name="parent_id">Initial value of the parent_id property.</param> /// <param name="icon">Initial value of the icon property.</param> /// <param name="created_date">Initial value of the created_date property.</param> /// <param name="created_by">Initial value of the created_by property.</param> /// <param name="updated_date">Initial value of the updated_date property.</param> /// <param name="updated_by">Initial value of the updated_by property.</param> public static menu Createmenu(global::System.Int32 menu_id, global::System.String menu_name, global::System.String menu_page, global::System.Int32 parent_id, global::System.String icon, global::System.DateTime created_date, global::System.String created_by, global::System.DateTime updated_date, global::System.String updated_by) { menu menu = new menu(); menu.menu_id = menu_id; menu.menu_name = menu_name; menu.menu_page = menu_page; menu.parent_id = parent_id; menu.icon = icon; menu.created_date = created_date; menu.created_by = created_by; menu.updated_date = updated_date; menu.updated_by = updated_by; return menu; }
/// <summary> /// Deprecated Method for adding a new object to the menus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomenus(menu menu) { base.AddObject("menus", menu); }