http://www.connectionstrings.com/
这是俺所关注的内容:
Using Connection Pooling | |
The connection pooling service will create a new pool if it can't find any existing pool that exactly match the new connections connection string properties. If there is a matching pool a connection will be recycled from that pool. |
|
实际中有看到这种写法的:
.NET与ORACLE的连接方式
(OracleConnection(.NET))采用共享池链接,连接字符串。(写在web.config)
<add key="strConn" value="User ID=fjdms;Data Source=fjdms_lyj;Password=XXXX;Max Pool Size=1000;pooling=true;" />
从ORACLE网站上看到的连接字符串《通过 Visual Studio 调试 Oracle PL/SQL 》:http://www.oracle.com/technology/global/cn/obe/odt/debugging/debugging.htm
string constr = "User Id=hr; Password=hr; Data Source=ORCL; enlist=false; pooling=false";