Hi nefise,
This is copied from the LLBLGenPro Help - What's new/changed in LLBLGen Pro v2.5?
Build-in precision/scale checks for numeric values. These checks are performed automatically (unless you turn off automatic checking) to prevent overflows in the database. For example if you define a field of type decimal in your database, with precision 10 and scale 2, and you try to store a value 1234567.123 into this field, you'll get an exception that the value will cause an overflow as the precision/scale of the value exceed the precision and scale of the field. Due to these automatic checks, developers don't have to write validators for every numeric field to see if there is a possible overflow.
BREAKING CHANGE: this feature can break existing applications at runtime because suddenly values like 10.500 are rejected while they were acceptable in previous versions. To overcome this, a global static (shared) property on the EntityBase(2) classes, called **ScaleOverflowCorrectionActionToUse **is added which accepts one of the 3 different values (None ( throw exception on scale overflow), Truncate (default, which truncates the fraction to fit the scale) or Round (which rounds the fraction using Math.Round)). This property is also settable using a config file setting by adding a line to appSettings in the config file of your application with as key **scaleOverflowCorrectionActionToUse **and as value 0, 1, or 2, which represent None, Truncate or Round.
Also please read: LLBLGenPro Help - Using the generated code - Validation per field or per entity - Built-in validation logic..
Please let us know if it works ok