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