Summary

In this chapter you saw how LINQ to SQL can act as an object relational model, mapping from objects and their associations to relational tables. You also learned the details of creating a DataContext to model the objects and creating queries that use joins to merge tables and where statements to filter results.

LINQ to SQL is instrumental in providing access to databases in every aspect of .NET programming, and is particularly important in Windows Phone programming where it is the framework for creating databases on top of isolated storage.

In this chapter, the powerful fundamental concepts of LINQ were applied to querying data from databases. In the next chapter, we'll see a similar flexibility with the Reactive Extensions. Instead of ...

Get Programming Reactive Extensions and LINQ 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.