I mean... is that a good idea?
views:
11answers:
1
Q:
If EntityB inherits from EntityA, must I also make a CDEntityB class that inherits from CDEntityA?
A:
No. Classes and entities are two completely different things. They do not need to mirror each other and in many cases it is a very bad idea.
Entity to class mapping is also not one-to-one so you can have one class that is being used by multiple entities if you so choose.
Marcus S. Zarra
2010-06-04 17:27:14