Extending SqlCommandWrapper in Enterprise Library

  • Thread starter Thread starter Tobester
  • Start date Start date
T

Tobester

Hi

I want to extend the SqlCommandWrapper in the Ms Enterprise Library to
add a method AddParameters.

I should be really simple, except that the SqlCommandWrapper's
constructors are "internal". Does anyone know how to get round this?
Also why are the constructors hidden away from the rest of us?

Toby
 
I should be really simple, except that the SqlCommandWrapper's
constructors are "internal". Does anyone know how to get round this?
Also why are the constructors hidden away from the rest of us?


The general idea behind this particular piece of the EntLib is really that
you create your own implementation and add it to the 'core'. It's not
designed to be an extension point. That means of course mucking with the
EntLib source of course, but I've never found that to be much of a bother.
 

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