Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.net 4を使用していないため、StringLength.MinimumLengthプロパティを使用できません。代替とは何ですか?私は正規表現を書くべきだと思います:
[Required] [RegularExpression("", ErrorMessage = "Minimum 3 characters")] public string Password { get; set; }
ありがとう、 イル
http://www.tsjensen.com/blog/CommentView,guid,904052d4-8ee0-47b5-bacb-eb1788137233.aspx