是否有 .NET 库 System.ComponentModel.DataAnnotations 的备忘单?
这是用于标记 ASP.NET MVC 3 模型类的库。
例如:
[Required]
[MaxLength(20)]
[Display(Name = "Asset")]
public string AssetNumber { get; set; }
[Required]
public int StatusID { get; set; }
最佳答案
关于asp.net-mvc-3 - System.ComponentModel.DataAnnotations 备忘单?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10090892/