Connection object wrapper.

  • Thread starter Thread starter Curious George
  • Start date Start date
C

Curious George

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
 
Is there a way to inherit from

System.Data.SqlClient.SqlConnection

I get a sealed class error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top