Does Castle ActiveRecord's ActiveRecordMediator<>
class support LINQ queries? I couldn't find any method that returns an IQueryable<>
. My domain objects can't inherit from ActiveRecordLinqBase<>
due to their design.
views:
98answers:
1
+1
A:
There's a separate static class for that - ActiveRecordLinq. Example:
from w in ActiveRecordLinq.AsQueryable<MyEntity>() select w;
Mauricio Scheffer
2010-04-16 04:03:00
Thanks! Can't believe I missed that.
Daniel T.
2010-04-16 05:00:39