M
mike morse
Could someone make a suggestion for this, and to make
things simple lets assume every order can only have one
product. (eliminating order details object)
If I have a Order, Product and ShipType object do I return
and Product object as a property of the Order object. Or
do I simply store the productID into an int property of
the order object. Same with the shiptype. I just read
this chapter in an OOP practices book where they were
storing the ID... is this correct?
-mike
things simple lets assume every order can only have one
product. (eliminating order details object)
If I have a Order, Product and ShipType object do I return
and Product object as a property of the Order object. Or
do I simply store the productID into an int property of
the order object. Same with the shiptype. I just read
this chapter in an OOP practices book where they were
storing the ID... is this correct?
-mike