Say I have an inteface IA.
Say I also have two different classes, B and C. The only commonality between B and C is that they inherit from the same base-class, and they both implement interface IA -- also B and C are mapped into different tables.
It is the idea of seperate objects that work great on their own, but implement a common interface to be able to be grouped together (for instance, different objects that might be sellable in a catalog).
Is it possible to map an object that has a one-to-one reference to the IA interface, and be able to put in either a B or C, and have it work?
|