Inheritance Relationships and Data Repositories

Topics: General Discussion Forum
Feb 2, 2007 at 3:37 AM
I have been playing around with the WSSF and it's a great utility to begin Code Generation with. I had a couple of questions regarding this.
Say I have a User class that derives from Person class, but does not store information in separate User and Person tables. How can I use the WSSF to work with such a scenario? For e.g. my Person has Fname, Middle, LName while my user class has JobTitle, UserLocation.
I don't have a separate Person table to store Person property related info. I however only have the User table which contains FName, Middle, LName, JobTitle, UserLocation. Can I even go about using the Code Generation for the same? Or do I have to manually write something to do this?

any pointers will be highly appreciated.