04 2016 档案

只有注册用户登录后才能阅读该文。
posted @ 2016-04-29 22:33 代码闪亮 阅读(140) 评论(3) 推荐(1)
摘要:1.模型建立,在模型上类上添加System.ComponentModel.DataAnnotations验证属性 ~~~C public class Product { public int Id { get; set; } [Required] public string Name { get; 阅读全文
posted @ 2016-04-07 22:34 代码闪亮 阅读(846) 评论(0) 推荐(0)