示例#1
0
文件: Logics.cs 项目: ssashkaa01/ef
 public bool SaveAll()
 {
     try
     {
         ctx.SaveChanges();
     } catch (System.Data.Entity.Validation.DbEntityValidationException e)
     {
         return(false);
     }
     return(true);
 }