This project is read-only.

how to store Decimal... type into db?

Topics: General
Sep 2, 2011 at 10:20 PM
Edited Sep 2, 2011 at 10:25 PM

i notice in 

ToDbType(Type type)
                    Enum.TryParse(Type.GetTypeCode(type).ToString(), trueout dbType);
it seems decimal can not parse to 
DbType.currency or double.
--------another similar question: can we use enum type for the column in Orchard ? it seems ok for flent nhibernate.