VB.Net: Class Inheritance make one class another -


i have organization has clients , students, every student begins client. if have client class , student class inherits client. how make client student?

it sounds problem involves persistence more inheritance. if have client, presumably persistent data stored in client table. when client becomes student, create record in student table containing student information , id of client record. client object loaded client table, while student object pull data both client , student tables. relating data means client info never duplicated, while making simple retrieve either client info, or student--including client--info.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -