interface contains an Error
property providing the current error message for the object and an indexer
for validating a property by name most often used for a validation by the UI controls supporting this interface:
Regarding the issue that you have described - the code generated by Telerik OpenAccess ORM is validating the entities in the indexer
you should not have any validations in the getters of your properties.
You could find more information about our IDataErrorInfo
support in this blog post
and the documentation article
describing its recommended implementation. I also suggest you take a look at this blog post
demonstrating how to use the interface in WPF applications.
Could you please confirm that without applying any changes on our code generation templates you are getting the ValidatePropertyInternal
method calls in the getters of your properties instead of in the indexer?
I am looking forward to your feedback.
OpenAccess ORM Q3 2013 simplifies your model operations even further providing you with greater flexibility. Check out the list of new features
shipped with our latest release!