} catch (DbEntityValidationException ex) { message = "添加异常"; desc = " {" + ex.Message + "}"; logtype = "异常"; }