摘要:
1//Product实体2publicclassProduct3{4[HiddenInput(DisplayValue=false)]5publicintProductID{get;set;}6[Required(ErrorMessage="Pleaseenteraproductname")]7publicstringName{get;set;}8[Required(ErrorMessage="Pleaseenteradescription")]9[DataType(DataType.MultilineText)]10publicstringDescri 阅读全文