O'Reilly logo

Expert C# 2008 Business Objects by Rockford Lhotka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. LINQ to CSLA

With the introduction of LINQ, the entire language for how we interact with collections of objects, data, XML files, and any other IEnumerable<T> structure has been updated. LINQ provides a unified language—a single syntax for dealing with diverse structures. It opens many exciting possibilities for reducing the volume of source code.

In this chapter, I will show you how to take advantage of the features in LINQ to CSLA in order to reduce the amount of source code you write dealing with CSLA .NET collections. I will then explain the implementation of features in LINQ to CSLA, including indexing and making the results of LINQ queries bindable.

Reducing Code with LINQ

Consider the following code, written without using LINQ: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required