Question

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top