ServiceStack/ServiceStack.OrmLite — pull request #208 by angelcolmenares (2013-03-23 19:25:35+00:00)
Title: Precision and Scale for decimal types

using DecimalLengthAttribute, precision and scale can be set ;

public decimal SomeDecimal	{get	set;	}
will produce:
for mysql: .... `SomeDecimal` DECIMAL (38,6) NOT NULL;
for the rest: ... `SomeDecimal` DECIMAL (18,12) NOT NULL;

[DecimalLength(15,2)]
public decimal SomeDecimalWithPrecisionAndScale	{get;set;	}
will produce: `SomeDecimal` DECIMAL (15,2) NOT NULL;