Last post Oct 17, 2008 01:16 AM by robconery
Oct 09, 2008 02:12 AM|Paul Linton|LINK
I've watched all the screencasts (magic!) and am now reading some of the code to better understand how things have been done.
Is there are reason for sometimes holding a reference to an object and other times holding the ID of the object? For example, in the OrderItem class there is a public property called Product which is of type Product but in the ProductReview class there
is a public property called ProductID which is of type int. The Category class has a LazyList<Product> but ProductImage has a ProductID. Why is it so?
Any explanations (or even guesses) appreciated.
Oct 17, 2008 01:16 AM|robconery|LINK