sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

MySQL and DbType.Currency #111

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to use the currency type I started getting errors. After peaking 
at the code I noticed that it was being mapped to money, as MySQL does not 
have a money type I changed it to this:

MysqlDialect, RegisterColumnType(DbType.Currency, "NUMERIC(19,5)");

Nick

Original issue reported on code.google.com by Nick.G.C...@googlemail.com on 14 May 2009 at 11:26