예제 #1
0
        public virtual int Commit()
        {
            int count = ProcessCommitQueues();

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

            return(0);
        }
예제 #4
0
 public virtual int Commit()
 {
     ProcessCommitQueues();
     repo.Commit();
     return(0);
 }