As usual a nice self explained test attached to a JIRA ticket (after you
have really realized that the test fail) will be more clear than hundreds of
words.
To create a test:
http://nhforge.org/blogs/nhibernate/archive/2008/10/04/the-best-way-to-solve-nhibernate-bugs-submit-good-unit-test.aspx

<http://nhforge.org/blogs/nhibernate/archive/2008/10/04/the-best-way-to-solve-nhibernate-bugs-submit-good-unit-test.aspx>To
create a JIRA ticket:
http://216.121.112.228/secure/Dashboard.jspa

On Tue, May 31, 2011 at 5:46 PM, Beefy <[email protected]> wrote:

> Hmm... interesting, haven't used Single before. That allows me to get
> rid of a line of code. Thanks for that.
>
> However, it still does not fix the underlying issue.
>
> / Michael /
>
> On May 31, 4:41 pm, Fabio Maulo <[email protected]> wrote:
> > > Not the same thing. I need to know that there is one, and exactly one,
> > > result.
> >
> > So: Single()
> > or SingleOrDefault() if you allow no-results.
> > --
> > Fabio Maulo
>



-- 
Fabio Maulo

Reply via email to