Hey everyone,

Is it possible to perform "deep" where clauses using the current
NHibernate.Linq provider?

I've got a query like this:

(from t in _session.Linq<Content>()
                    where t.WorkflowStage.TransitionsFromHere.Any()
                    select t)

but I get

NHibernate.QueryException: could not resolve property:
WorkflowStage.TransitionsFromHere of:
DeveloperFusion.Domain.Entities.WorkflowStage

If I change the query to only one depth, like this:

(from t in _session.Linq<Content>()
                    where t.WorkflowStage.Active
                    select t)

then it works fine.

Any ideas?

Thanks

James

--~--~---------~--~----~------------~-------~--~----~
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