Widgets > wijmenu > wijmenu Tutorial > wijmenu Step 1 of 3: Creating the Model |
The Model contains all of the database access, business, and validation logic. In this example, we'll generate an ADO.NET Entity Data Model (.edmx), from the view stored in the NorthWND.MDF database.
![]() |
Note: This step assumes that you have created a MVC Tools project. If you haven’t, see the Creating an MVC Tools Project topic. It also assumes that you have added the NORTHWND.MDF database installed with the product to the project's App_Data folder. The NORTHWND.MDF file can be found in the Studio for ASP.NET Wijmo\ASP.NET MVC Tools\CS\WijmoMVC\WijmoMVC\App_Data folder within C:\Users\<username>\Documents\ComponentOne Samples (Windows 7/Vista) or C:\Documents and Settings\<username>\My Documents\ComponentOne Samples (Windows XP). |
In the next step, wijmenu Step 2 of 3: Creating the Controller, we’ll create a controller, which will handle the user action by returning a view that contains the data from the model.