I don't see any conceptual reason for why that query shouldn't work.

Please never state an exception without the message and 5-10 lines of
the stacktrace, as this is usually vital to understand the issue.

/Oskar


2013/1/12 NHJunior <[email protected]>:
> Good day.
> If i in my project execute code
> currentSession.Query<T>().Skip(bigNumber).Count(), and bigNumber large
> enough so that after the method Skip executed resulting sequence contains 0
> items, i get exception ArgumentOutOfRangeException.
> An exception occurs only when using Skip  and then Count and parameter
> bigNumber is that the resulting sequence of 0 items. If any other methods
> called between Skip and Count and resulting sequence contain 0 items an
> exception also occurs. If Skip not called when Count working well on
> sequence with 0 items.
> This is a problem NH or I misunderstood its use?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nhusers/-/2b68UKBoKisJ.
> 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.

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