E
e-mre
Is is possible to replace a framework class for my application?
Let's say that I want to add a new property to the System.Data.Dataset
class. I can do that by extending the class. But I also want my new class to
replace the default System.Data.Dataset class in the framework. Whenever
System.Data.Dataset is referenced in my application, the reference should
point the my extended DataSet class. Other classes and procedures that are
already using System.Data.Dataset class should now start using my class.
Java guys say that they can do this by copying the source code of the
required class into the project, making the changes on the source and
compiling it into the application package. Is this possible for dotNET?
e-mre
Let's say that I want to add a new property to the System.Data.Dataset
class. I can do that by extending the class. But I also want my new class to
replace the default System.Data.Dataset class in the framework. Whenever
System.Data.Dataset is referenced in my application, the reference should
point the my extended DataSet class. Other classes and procedures that are
already using System.Data.Dataset class should now start using my class.
Java guys say that they can do this by copying the source code of the
required class into the project, making the changes on the source and
compiling it into the application package. Is this possible for dotNET?
e-mre