项目中会遇到需要验证两个依赖属性的情况,如开始时间和结束时间,最大值与最小值等等。
详细内容:http://dotnetspeak.com/index.php/2012/05/validating-dependent-fields-in-asp-net-mvc/