public virtual int Commit() { int count = ProcessCommitQueues(); repo.Commit(); return(count); }
public virtual int Commit() { BeforeSave?.Invoke(this, new Interceptors.Events.BeforeSave()); ProcessCommitQueues(); repo.Commit(); AfterSave?.Invoke(this, new Interceptors.Events.AfterSave()); return(0); }
public virtual int Commit() { OnBeforeSave(new BeforeSave()); ProcessCommitQueues(); repo.Commit(); OnAfterSave(new AfterSave()); return(0); }
public virtual int Commit() { ProcessCommitQueues(); repo.Commit(); return(0); }