예제 #1
0
 public int SaveChanges()
 {
     return(Db.SaveChanges());
 }
예제 #2
0
        public CommandResponse Commit()
        {
            var rowsAffected = _context.SaveChanges();

            return(new CommandResponse(rowsAffected > 0));
        }
예제 #3
0
 public void Store(StoredEvent theEvent)
 {
     _context.StoredEvent.Add(theEvent);
     _context.SaveChanges();
 }