ANSI SQL and SQL Server don't allow unsigned decimals, but MySQL does. The CLR doesn't have an unsigned decimal type, so such assignments eventually cause MySQL to be asked to store a negative value. Which it happily truncates to zero.
This is clearly a case where I 'd be happy if my DAL didn't allow me to shoot myself in the foot. :-)
ANSI SQL and SQL Server don't allow unsigned decimals, but MySQL does. The CLR doesn't have an unsigned decimal type, so such assignments eventually cause MySQL to be asked to store a negative value. Which it happily truncates to zero.
This is clearly a case where I 'd be happy if my DAL didn't allow me to shoot myself in the foot. :-)
Grab the patch from here: http://github.com/defacer/SubSonic-3.0-Templates/commit/a5966e693878a5072931698f85a5402e538745f6