In this case you have two solution for this. You can write either a custom validation attribute or using IValidatableObject in you model ...
確定! 回上一頁