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: ...
Get Expert C# 2008 Business Objects 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.