Entity Framework
Web application interacts and stores data in SQL Server database. Microsoft provides Entity Framework as object-relationship mapping tool to fast track data access development. Entity Framework 6.0 is the most recent version available and is used in this application. Entity Framework provides multiple approaches to access data. There is a code first approach where database schema is generated from models and code in an application. There is also a database first approach in which necessary models, entities, database context, and plumbing code is generated from database schema. The OnlinePharmacy application uses the database approach. However, readers are free to use any approach they are comfortable and their design demands. More details about steps used to create Entities and model is provided at https://www.asp.net/mvc/overview/getting-started/database-first-development/creating-the-web-application.
The application model and entities used in this application are available...