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