Can Castle Validators work with DataAnnotations attributes?
-
20-12-2020 - |
Pregunta
Is there a way of making DataAnnotations attributes such as Required to work with Castle Validators?
I know Castle has its own attributes - but I am wanting to use the same attribute for the view and business logic. So I want the attributes to be used for the view validation and any business logic validation. I am aware this approach is not ideal.
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow