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