Example #1
0
 /// <summary>
 /// 提交当前上下文的事务更改
 /// </summary>
 public void Commit()
 {
     if (HasCommited)
     {
         return;
     }
     _dbContextMamager.Commit();
     HasCommited = true;
 }
Example #2
0
 /// <summary>
 /// 提交当前上下文的事务更改
 /// </summary>
 public void Commit()
 {
     _dbContextMamager.Commit();
 }