This question is locked. New answers and comments are not allowed.
Hi
I'm just getting to grips with IDataErrorInfo and the partial classes required to implement the ValidateProperty methods.
I did a simple example and have the error highlighted to the user in the UI ok.
In my ValidateProperty method I have the code waiting for a match between a 'magic' string and the class's propertyname to check the length is within range.
This is ok for a small number of columns but for many columns across many tables this will become painful both to create and maintain.
Perhaps I have missed something. Can Data Access generate these methods for me?
Regards
Craig
I'm just getting to grips with IDataErrorInfo and the partial classes required to implement the ValidateProperty methods.
I did a simple example and have the error highlighted to the user in the UI ok.
In my ValidateProperty method I have the code waiting for a match between a 'magic' string and the class's propertyname to check the length is within range.
This is ok for a small number of columns but for many columns across many tables this will become painful both to create and maintain.
Perhaps I have missed something. Can Data Access generate these methods for me?
Regards
Craig