how to store Decimal... type into db?

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

i notice in 

SchemaUtils.
ToDbType(Type type)
{
default:
                    Enum.TryParse(Type.GetTypeCode(type).ToString(), trueout dbType);
                    break;
}
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.
thanks