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.
 
Back
Top