modika11
Programmer
- Jan 31, 2008
- 20
Hi All,
I am getting my head round OO and am trying to write better applications usimg the techniques available. I am new to this so still get majorly stumped at times.
I have a baseCompany supertype which is abstract and from that i create two subtypes of my base which are client and vendor. Client maps to the base class, but vendor exposes some extended properties. Where i am having some difficulty is creating the client and vendor data provider class. I would like if possible to define some sort of companyProvider interace/abstract class that defines the methods that both the classes will use, but i am a bit confused as the vendor object exposes extra properties so does that mean i cant utilise a base in this instance.
Any help will be much appreciated.
Rob
I am getting my head round OO and am trying to write better applications usimg the techniques available. I am new to this so still get majorly stumped at times.
I have a baseCompany supertype which is abstract and from that i create two subtypes of my base which are client and vendor. Client maps to the base class, but vendor exposes some extended properties. Where i am having some difficulty is creating the client and vendor data provider class. I would like if possible to define some sort of companyProvider interace/abstract class that defines the methods that both the classes will use, but i am a bit confused as the vendor object exposes extra properties so does that mean i cant utilise a base in this instance.
Any help will be much appreciated.
Rob