Creating Views, Controllers, and a Database from Model Classes

  • Lee Naylor
Chapter

Abstract

In this chapter we will jump right into the project and add some basic model classes for products and categories. We will use these to create a database using Entity Framework Code First. I'll show you how to set up a database context class, specify a connection string, create a database from your code, and add new views and controllers to manage and display the product and category data.

Keywords

Product Class Category Category Post Version Edit Method Index Page 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Lee Naylor 2016

Authors and Affiliations

  • Lee Naylor
    • 1
  1. 1.Newton-le-WillowsUK

Personalised recommendations