Lazy column loading with NHibernate
Posted by Kevin McKelvin on March 15, 2011 in NHibernateLets take a look at the following simple schema, for brevity’s sake I’ll just use three entities. Product + Id int + Description string + BasePrice decimal + Image byte[] Order + Id int + Lines ICollection<OrderLine> + ShippingAddress string OrderLine + Id int + Customer Customer + Product Product + LinePrice decimal + Qty int From a conceptual point of view it’s great, we have a nice easy object graph to traverse and it’s pretty discoverable as well. However lets look at it from a SQL point of view. If I were to
Continue ReadingLeave a Comment

