EF异常捕捉

 try
{
// 写数据库
}
catch (DbEntityValidationException dbEx)
{

}

posted on 2017-03-07 14:28  炽焰摩羯  阅读(98)  评论(0)    收藏  举报

导航