wrap exceptions



jmarr wrote Feb 16, 2012 at 4:56 PM

Can you post some example code that produces this error?

vitidev wrote Feb 20, 2012 at 8:39 PM

It seems this error I got when I tried to do db.Query for SELECT * FROM table

jmarr wrote Feb 28, 2012 at 3:47 PM

Vitidev: I have added a friendly exception message for this scenario.
In the case you gave above with the casting error, the friendly message would read:
"The DataMapper was unable to create a value of type 'String' from the first column '[ColumnName]'."

jmarr wrote Feb 28, 2012 at 3:49 PM

Btw, I haven't created a new release yet, but you can of course still download the latest via codeplex.