Im using nhibernate linq from 2.1.0.1003 and gets the following error

Could not resolve property: Releases
of:Project.Core.Domain.Packages.OpenPackage

The query causing the exception is the following

 var query = from package in m_data.OrderUsingSortDetails
(sortDetails).Skip((pageIndex - 1) * pageSize).Take(pageSize)
                   where package.Releases.Any(x => x.Id == releaseId)
                   select package;


m_data is a IQueryable<OpenPackage> and the Releases is mapped thru a
private field, the Releases property is just a IEnumerable<Release>
that returns the private field m_releases (that is a ISet<Release>)

Is it possible to do this kind of query with my mapping, or is it not
possible with linq 2 nhibernate.

Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to