P
Pablo Castro [MS]
We are interested in hearing some opinions on a change we've been
considering:
Currently most classes in ADO.NET such connection, command, datareader,
parameters, etc. inherit from MarshalByValueComponent, MarshalByRefObject or
Component. This is actually not needed or useful (i.e. you can't actually
use most of these through remoting directly) and it adds certain overhead
that we'd like to remove.
We believe that there is no actual reason for application code to depend on
the fact that we inherit from those, but we don't want to make a change
unless we're really sure that this is not an issue for existing
applications.
So the question is: is anyone depending on the fact that we inherit from
those classes for your applications? If so, what's the scenario where that
happens?
Scenarios I can think of:
- Do you rely on the fact that connection, command and adapter inherit from
component? If so, would it be enough if we implement IComponent instead?
- Do you directly expose any of the ADO.NET classes *directly* through
remoting?
The ADO.NET team would really appreciate your input in this matter. Feel
free to either answer to the newsgroups or email me directly.
Thanks in advance.
btw - what's your opinion on us doing this kind of polls in the newsgroups?
--
Pablo Castro
Program Manager - ADO.NET Team
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights.
considering:
Currently most classes in ADO.NET such connection, command, datareader,
parameters, etc. inherit from MarshalByValueComponent, MarshalByRefObject or
Component. This is actually not needed or useful (i.e. you can't actually
use most of these through remoting directly) and it adds certain overhead
that we'd like to remove.
We believe that there is no actual reason for application code to depend on
the fact that we inherit from those, but we don't want to make a change
unless we're really sure that this is not an issue for existing
applications.
So the question is: is anyone depending on the fact that we inherit from
those classes for your applications? If so, what's the scenario where that
happens?
Scenarios I can think of:
- Do you rely on the fact that connection, command and adapter inherit from
component? If so, would it be enough if we implement IComponent instead?
- Do you directly expose any of the ADO.NET classes *directly* through
remoting?
The ADO.NET team would really appreciate your input in this matter. Feel
free to either answer to the newsgroups or email me directly.
Thanks in advance.
btw - what's your opinion on us doing this kind of polls in the newsgroups?
--
Pablo Castro
Program Manager - ADO.NET Team
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights.