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: ...