I need a sample MVC 6 Entity application using jsTree to view and control "Categories" from a SQL Database using the entity framework.
jsTree site for reference [url removed, login to view]
Database has the following tables;
Category (ID, Name, Desciption, ExcludeFromSite)
Product_Category(ID, category_id, ParentId)
product_Category stores all category to sub-category relationships. If "ParentId" is '0' then its a top level category. ParentId of value will link back to top level category by categoryID.
jsTree is to show all the categories and sub-categories using the CheckBox display. Each line is to have Category Name and ExcludedFromSite.
The MVC View is to have a function to add a "Bit" value to the ExcludeFromSite in category by selecting any category or multiple categories and then saving the form using the value required that is inverse to the current state.
e.g if Category A has ExcludeFromSite =1 and Category B has ExcludeFromSite= 0 and then are both selected and form saved the values will be Category A ExcludeFromSite =0 and Category B ExcludeFromSite= 1
- Must use entity Framework.
- All code to be documented.
Need this done quickly.
Hi, I can help you in Entity framework MVC application using JsTree. I've read your description carefully. and I know, that you want to save JsTree checkboxes values in database. I'm have over 6 years of experience in Plus