ASP.NET MVC Controls > Getting Started > Scaffolding in ASP.NET MVC Controls > Data Source Configuration |
To configure the datasource for the application, let us use C1NWind database, the C1NWind.mdf file, available on your system in C:\Users\<username>\Documents\ComponentOne Samples\ASP.NET MVC\MVC\CS\MvcExplorer\App_Data. The steps to generate database for the application are as follows:
If you can see C1NWind.edmx added to your project under the Models folder, you have successfully configured the datasource for your application.