Chapter 8. LINQ to Entities: Advanced Concepts and Features

In the previous chapter, we learned some basic concepts and features of LINQ to Entities such as querying and updating database tables and views and changing loading behaviors by using the Include method.

In this chapter, we will learn some advanced features of LINQ to Entities such as stored procedure support, concurrency control, and transactional processing. After this chapter, we will rewrite the data access layer of our WCF service to utilize LINQ to Entities technology.

In this chapter we will cover:

  • Calling a stored procedure
  • Inheritance support
  • Concurrency control
  • Transaction support

Calling a stored procedure

Calling a stored procedure is different from calling a table or a view because ...

Get WCF 4.5 Multi-Layer Services Development with Entity Framework now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.