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 }
public int SaveChanges() => EfDomain.SaveChanges();