Linq Castle Don't work

10 views
Skip to first unread message

SaXeTz

unread,
Dec 9, 2011, 9:27:14 AM12/9/11
to Castle Project Users
I can't do work this linq query:
var Agreement = (from a in ActiveRecordLinq.AsQueryable<Agreement >()
where (from m in a.Movements
where m.Situation.Description!=
"Cancel"
select m.Id).Max() == a.Id
select a).ToList();
Somebody know whats happenning?

mynkow

unread,
Dec 14, 2011, 5:01:26 PM12/14/11
to castle-pro...@googlegroups.com
What is the error?
Which version of NHibernate?
I am not Active record guy but it is important how your mappings look like?
Reply all
Reply to author
Forward
0 new messages