سؤال

I know that ASP.NET MVC has good validation using Data Annotations. Is it possible to use INotifyDataErrorInfo for data validation?

هل كانت مفيدة؟

المحلول

No, but you could use the IValidatableObject interface. Scott Gu blogged about it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top