摘要: 第一步: 引入引用using System.ComponentModel.DataAnnotations; 第二部: 在字段前添加限制类型 参考地址:http://blog.csdn.net/chengly0129/article/details/7823157 阅读全文
posted @ 2017-09-20 22:15 love飞飞 阅读(592) 评论(0) 推荐(0) 编辑