I narrow my previous problem to this query :
IQueryable<Address> adresses = session.Linq<Subscriber>().Where(s => s.Id == new Guid("7af42422-ef0d-4368-a2a9-0bc2e9b0fd32")).SelectMany(s => s.Addresses);
I got a invalid cast exception (from Adress to Subscriber).
done
http://jira.nhibernate.org/browse/NHLQ-16
Matthieu
What do you mean by limitation of criteria ?
--In the trunk we start a new project (NH2LINQ). Tuna Toksoz and Chad Lee are working on it.The target of the new prj is allow you to use all features supported by LINQ and extend it with all feature supported by HQL (instead limit LINQ because CriteriaAPI).
Fabio Maulo