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 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 the LINQ to Entities technology.

In this chapter, we will cover the following topics:

  • Calling a stored procedure
  • Concurrency control
  • Transaction support

Calling a stored procedure

Calling a stored procedure is different from querying a table or a view ...

Get WCF Multi-layer Services Development with Entity Framework Fourth Edition 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.