MVVM - Does validation really have to be so cumbersome?
In my application I have tons of forms, most of with having there own
models which they bind to! Of course data validation is important, but is
there not a better solution than implementing IDataErrorInfo for all of
your models and then writing code for all of the properties to validate
them?
I have created validation helpers which remove alot of the actual
validation code, but still I can't help but feel I am missing a trick or
two! Might I add that this is the first application which I have used MVVM
within so I am sure I have alot to learn on this subject!
No comments:
Post a Comment