摘要: try{ context.SaveChanges();}catch (DbEntityValidationException ex){ var errorMessages = ex.EntityValidationErrors.SelectMany(validationResult => valid 阅读全文
posted @ 2019-05-13 11:47 jasonlai2016 阅读(169) 评论(0) 推荐(0) 编辑