Ejemplo n.º 1
0
        public int SaveChanges()
        {
            EfWip.WaitBombIf();                         // wait for any previous async SQL traffic by EF to finish
            AdoWip.WaitBombIf();                        // ditto wait for any previous async p_ActionWebPage sproc operation to complete [avoid internal deadlocks]
#if WIP
            LastEfCmd = EfWipEnum.SaveChangesAsync;     // although method not Async, it refreshes latest activity
#endif
            return(EfDomain.SaveChanges());             // N.B. EF has its own retry and transaction wrappers
        }
Ejemplo n.º 2
0
 public int SaveChanges() => EfDomain.SaveChanges();