Can anyone help me translate the following LINQ query into an nHibernate
Criteria clause?
from c in session.Linq<Content>
where c.WorkflowStage.Active
&& c.WorkflowStage.TransitionsFromHere.Any(x =>
userContext.Identity.Roles.Contains(x.Role))
&& c.Owner.Id == userContext.Identity.Id)
select c;
Tried doing this already (see my previous post) but thought this might be
clearer to explain!
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
-~----------~----~----~----~------~----~------~--~---