[Mono-list] Questions about coding style

Philippe Grohrock philippe.grohrock at gmail.com
Mon Aug 20 21:11:25 UTC 2012


>
>  Unless I'm mistaken .NET connections are pooled for you, so I don't think
> you'll be gaining much from keeping one instance of the connection always
> open as the framework is already doing just that. My advice is don't worry
> about it until you have to... chances are it won't be a problem in the real
> world!
>

Connections only get pooled when pooling=true is set, but as far as I
understood it, this only works as long as the connection doesn't get
disposed.




--
View this message in context: http://mono.1490590.n4.nabble.com/Questions-about-coding-style-tp4656301p4656327.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120820/f82d7459/attachment.html>


More information about the Mono-list mailing list