Esempio n. 1
0
 /// <summary>
 /// 开启事务
 /// </summary>
 /// <param name="connectionId">连接ID</param>
 /// <param name="isolation">事务级别</param>
 /// <returns>数据库事务</returns>
 public IDbTransaction BeginTransaction(string connectionId, IsolationLevel isolation = IsolationLevel.ReadCommitted) => DbConnectionManager.BeginTransaction(connectionId, this, isolation);