If you want to implement client-side or server-side validation, you can use the Data Annotation Attributes that can be created by the CodeGeneration wizard. Using the Data Annotation Attributes you can specify if the property is Required, it is Key or the string length. You can refer to this
article how to generate Data Annotation Attributes.
You can also take a look at the Telerik Data Access SamplesKit
and the sample Ajax With Data Annotations
which demonstrates an ASP.NET MVC application with client and server side validation using the Data Annotation Extensions over a code-first approach data model generated by the Telerik Data Access.
I hope that helps. If you want to achieve something different or If any other questions arise, 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