/// <summary> /// 释放一个连接 /// </summary> /// <param name="tnOraConn"></param> public static void CloseOraConnection(OracleConnection tnOraConn) { DBAdmin.FreeConnect(tnOraConn); }
/// <summary> /// 获得一个连接 /// </summary> /// <param name="tsConnectId"></param> /// <param name="tnOraConnIndex"></param> /// <returns></returns> public static OracleConnection GetOraConnection(String tsConnectId) { return(DBAdmin.GetConnection(tsConnectId)); }