© Lee Naylor 2016

Lee Naylor, ASP.NET MVC with Entity Framework and CSS , 10.1007/978-1-4842-2137-2_10

10. Advanced Scenarios and Common Workarounds

Lee Naylor

(1)Newton-le-Willows, Merseyside, UK

This chapter covers some of the more advanced topics of using ASP.NET MVC with Entity Framework, including how to code asynchronous database access code, how to deal with concurrent database updates where conflicting data edits may occur, and how to manually run SQL queries rather than using those generated by Entity Framework.

Note

If you want to follow along with the code in this chapter, you must either have completed Chapter 9 or download Chapter 9’s source code from www.apress.com as a starting point.

Asynchronous Database Access

In order to keep this ...

Get ASP.NET MVC with Entity Framework and CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.