Is there LinqToCSLA .NET?

Is there LinqToCSLA .NET?

Old forum URL: forums.lhotka.net/forums/t/7457.aspx


yashgt posted on Friday, August 14, 2009


Hi,

Is there any support for Linq To CSLA, which would expose entities as IQueryable just like Linq to Entities?

We have about 100 entity classes based on CSLA .NET developed in an existing application which now needs to be enhanced with RIA Domain services and Dynamic Data. Dynamic Data expects the operations to support the Linq syntax and hence we need somthing like LinqToCSLA.


Thanks,
Yash

JonnyBee replied on Friday, August 14, 2009

Hi,

The latest versions of Csla supports IQueryable - use the latest realease v3.7.0. Csla even supports in-memory indexing on properties by adding the [Indexable] attribute to the properties that you will allow Csla to build indexes on.

Linq queries over Csla lists returns a LinqBindingList (enhancement to keep the list in sync with the undelying BO list) and supports Expressions-based queries.

/jonnybee

Copyright (c) Marimer LLC