Closed GoogleCodeExporter closed 9 years ago
I'm sending a patch, which includes:
1. Changed TSession.FindOne<T>() to delegate to TSession.FindOne(). This
reduced a bit of duplicated code (as both methods were almost identical), and
will ensure that they will always behave the same.
2. Because of "1", now TSession.FindOne<T>() return nil instead of raising an
exception when no object is found
3. Tests for both methods
4. Changed the exception message raised on TSession.FindOne
Original comment by magn...@gmail.com
on 18 Nov 2011 at 2:09
Attachments:
Thank you Magno. I' applied the path to the trunk. Asap I'll test it on the dev
branch.
Original comment by daniele....@gmail.com
on 22 Nov 2011 at 5:28
Original issue reported on code.google.com by
magn...@gmail.com
on 17 Nov 2011 at 8:35