Beispiel #1
0
 public int SaveChanges()
 {
     return(Db.SaveChanges());
 }
Beispiel #2
0
 public bool Commit()
 {
     return(_context.SaveChanges() > 0);
 }
        public CommandResponse Commit()
        {
            int rowsAffected = _equinoxContext.SaveChanges();

            return(new CommandResponse(rowsAffected > 0));
        }
 public virtual int SaveChanges()
 {
     return(Db.SaveChanges());
 }
 public void Store(StoredEvent theEvent)
 {
     _context.StoredEvent.Add(theEvent);
     _context.SaveChanges();
 }
Beispiel #6
0
        public CommandResponse Commit()
        {
            var rowsAffected = _context.SaveChanges();

            return(new CommandResponse(rowsAffected > 0));
        }