문제

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.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top