Is there something wrong with this:
jobDetail is a parameter of type JobDetail
var jobDet = (from pd in new Linq<JobDetail>().Query
where pd.OrderDetail == this && pd !=
jobDetail
select pd).ToList();
Without "&& pd != jobDetail" it works fine, with "&& pd != jobDetail"
it gives an exception "object not reference....".
This sentence is inside the OrderDetail entity class and my needs is
to exclude jobDetail itself.
Thanks in advance.
Alessandro C.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---