public void Commit()
 {
     _context.SaveChanges();
 }
示例#2
0
 public int SaveChanges()
 {
     return(_protectosContext.SaveChanges());
 }