Hello Oskar,

Thank you very much for your answer - I really appreciate it.

I think your're right - solution from your link matches mine. I've
seen in here (https://github.com/nhibernate/nhibernate-core/pull/94)
that someone has already solved it. However, I have no idea how to use
his code - could you help me with it too, please ?

Best regards,
Antoni Marasek

On May 21, 3:09 pm, Oskar Berggren <[email protected]> wrote:
> Does it match this issue?https://nhibernate.jira.com/browse/NH-2588
>
> 2012/5/21 [email protected] <[email protected]>:
>
>
>
>
>
>
>
> > 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 
> > athttp://groups.google.com/group/nhusers?hl=en.

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