Y
yairinbal
Hello,
I am looking for a way to extend system classes (specifically I'm
talking about data provider connection classes such as
System.Data.SqlConnection, System.Data.OracleConnection).
What I need is to add custom pre-processing before call to some of teh
methods. I would like to minimize the code changes of the application
that uses these classes.
The problem is that these system classes are defnied as sealed so I
cannot simply extend them.
Do you have any idea how can I extended these classes and more
generally how can I hook system classes?
Regards,
Yair
I am looking for a way to extend system classes (specifically I'm
talking about data provider connection classes such as
System.Data.SqlConnection, System.Data.OracleConnection).
What I need is to add custom pre-processing before call to some of teh
methods. I would like to minimize the code changes of the application
that uses these classes.
The problem is that these system classes are defnied as sealed so I
cannot simply extend them.
Do you have any idea how can I extended these classes and more
generally how can I hook system classes?
Regards,
Yair