Does Castle ActiveRecord's ActiveRecordMediator<&开发者_开发百科gt;
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.
There's a separate static class for that - ActiveRecordLinq. Example:
from w in ActiveRecordLinq.AsQueryable<MyEntity>() select w;
精彩评论