 <p>Unless you only need the line items on very rare occasions, store them together as per this post from Ayende <a href="http://ayende.com/blog/4546/modeling-hierarchical-structures-in-ravendb" rel="nofollow">http://ayende.com/blog/4546/modeling-hierarchical-structures-in-ravendb</a></p>