Вопрос

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