By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,097 Members | 1,431 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,097 IT Pros & Developers. It's quick & easy.

Adding methods and/or properties to an existing custom class

P: 4
I am coding an application in VB.Net 2005 where objects of a custom class are saved/retrieved into/out of a DB. As my application moves into its 2nd version I have to add new methods and properties into my custom class.

How does one go about adding new methods and/or properties to a custom class and then updating existing objects of that class w/out breaking everything?

Ex: Pull existing object from DB -> Convert to new version of object class -> Save back into DB

I've tried CTYPE, deep cloning, making an new class that inherits the old class, etc. All to no avail, and I can't seem to find the answer anywhere.

Any pointers in the right direction would be greatly appreciated.

Mar 26 '07 #1
Share this Question
Share on Google+
1 Reply

P: 4
Not totally solved yet, but I did find this article here for anyone else faced with this issue:

Once I get it working correctly I'll repost here w/ the solution.

Mar 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.