EF 查看具体的抛错详情

 

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.

抛错信息转换

((System.Data.Entity.Validation.DbEntityValidationException)ex)

 

posted on 2018-12-04 21:27  wxm3177  阅读(132)  评论(0编辑  收藏  举报