Do you have a test case that can be added to the nunit test suite? The
test should cover the corner cases of the code (eg, in which cases it
goes into if ((byte)schema["NumericPrecision"] == 19 &&
(byte)schema["NumericScale"] == 0), etc).