示例#1
0
 /// <summary>
 /// 释放一个连接
 /// </summary>
 /// <param name="tnOraConnIndex"></param>
 public static void CloseOraConnection(int tnOraConnIndex)
 {
     DBPool.FreeConnect(tnOraConnIndex);
 }
示例#2
0
 /// <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));
 }