public override Task <int> SaveChangesAsync(CancellationToken cancellationToken = new CancellationToken()) { ContextUtil.UpdateTimeStamps(ChangeTracker); return(base.SaveChangesAsync(cancellationToken)); }
public override int SaveChanges(bool acceptAllChangesOnSuccess) { ContextUtil.UpdateTimeStamps(ChangeTracker); return(base.SaveChanges(acceptAllChangesOnSuccess)); }