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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Lee Naylor
About this chapter
Cite this chapter
Naylor, L. (2016). Searching, Advanced Filtering, and View Models. In: ASP.NET MVC with Entity Framework and CSS . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2137-2_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2137-2_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2136-5
Online ISBN: 978-1-4842-2137-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)