开发者

Does Castle ActiveRecord's ActiveRecordMediator<> support LINQ?

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜