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