Пример #1
0
 /// <summary>
 /// 开始事务,并返回事务对象
 /// </summary>
 public ComTransaction BeginTransaction()
 {
     trans = this._dbconn.BeginTransaction();
     return(trans);
 }
Пример #2
0
 public ComCommand(string cmdText, ComConnection con, ComTransaction trans)
 {
     _cmd = new System.Data.OracleClient.OracleCommand(cmdText, con.Connection, trans.Transaction);
 }