The idea of the partial method ValidateProperty is that you should write your own partial class and implement the method there, so when the code generation of the domain model is launched, the partial classes will stay untouched. Otherwise the partial classes will be overwritten with the default ones.
If you still want to customize the code generation templates, you can refer to this
article. The ValidateProperty
method can be found in the ClassGenerator.ttinclude file.
If any other questions arise or if you need any assistance with customizing the code generation templates do not hesitate to contact us again.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map