Hello everyone,

I am currently creating an application using the nHibernate and I've
encountered a strange problem with one of the LINQ queries.

NotSupportedException is being thrown when I try to execute something
like this:

var result =  _productRepository.FindAll().OrderBy(p =>
p.UnitsInStock).Take(63).Select(p => p.ProductName);

Does anyone have an idea why does it happen? I can provide the source
code if necessary.

I will appreciate any help. :)

Best regards,
Antoni Marasek

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