且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C#Windows应用程序 - 许多线程使用相同的连接?

更新时间:2023-02-10 22:44:29

连接池是ADO.NET的一个特性。因此,连接已经合并。不仅在网络环境中。

The Connection Pooling is one feature of ADO.NET. Therefore the connections are already pooled. Not only in the web environment.

http://www.ondotnet.com/pub/a/dotnet/2004/02/09/connpool.html