I have a class which is derived and generated automatically from the database.
Whenever I change the definition of the table, I regenerate the class.
I need to derive another class based on the one above. I have added a few
fields and properties, extending its function.
I do not want to change the original class by hand, since it will be
over-written when I regenerate.
I need to implement an interface on the derived class. The interface effects
some, but not all, of the properties. In order to implement an inherited
property, it seems I must change the property of the base class to Overridable.
But Overridable will be removed when I regenerate the base class and the
derived class will break.
Is there another approach to solve this problem?
Thanks, Flomo
--
--