MVC MODEL中排除有些属性不需要验证时的方法

ModelState.Remove("Password");

原文地址:https://www.cnblogs.com/xmily/p/3373225.html