mysql decimal columns parsed to c# decimal type

I have solved a problem saving decimal columns. They were losing the decimal points.
The regular expression used to parse the database columns data types to c# types was not correct when the mysql column had especified precison.