ServiceStack/ServiceStack.OrmLite — pull request #186 by dylanvdmerwe (2013-03-03 21:56:42+00:00)
Title: Fix IndexOutOfRangeException for ignored fields

As part of the "Ignored Fields Selection feature" commit, when using
OrmLiteUtilExtensions ConvertTo, the PopulateWithSqlReader maps as
many of the fields it can to the type T. However if the datareader does
not contain a field, an IndexOutOfRangeException is thrown which,
although properly handled, bubbles up into the user's code such that if
they have exceptions turned on in VS it stops program flow and that is
not ideal.