By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,900 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,900 IT Pros & Developers. It's quick & easy.

Connection object wrapper.

P: n/a
I would like to create a connection object wrapper for my web application.

I would like my app to request a connection from my wrapper and have my
wrapper function choose the best DB to connect to or fall back to.

I am worried about memory clean up though.

What is the best way to construct such a wrapper as to guarantee that it is
memory safe.

-George
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Is there a way to inherit from

System.Data.SqlClient.SqlConnection

I get a sealed class error.
"Curious George" <mu*****@hotmail.nospam> wrote in message
news:e9**************@tk2msftngp13.phx.gbl...
I would like to create a connection object wrapper for my web application.

I would like my app to request a connection from my wrapper and have my
wrapper function choose the best DB to connect to or fall back to.

I am worried about memory clean up though.

What is the best way to construct such a wrapper as to guarantee that it is memory safe.

-George

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.