Looks like a bug to me.  It would be great if you could ensure there's
a test case in JIRA for this.

        Patrick Earl

On Thu, Jul 21, 2011 at 9:18 AM, Harald M. <[email protected]> wrote:
> Wenn I try it, it throws an ArgumentOutOfRangeException in the
> following piece of code:
>
> class DefaultQueryProvider {
>    ...
>    protected virtual object ExecuteQuery(NhLinqExpression
> nhLinqExpression, IQuery query, NhLinqExpression nhQuery) {
>        IList results = query.List();
>        ...
>        return results[0];
>    }
>    ...
> }
>
> Stpping over the .List() statement does not emit an SQL statement
> (checked with SQL Profiler) and returns en empty list. Hence, the
> results[0] access fails.
>
> Simple bug, or my error?
>
> Thx
> Harald
>
> --
> 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.
>
>

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