Maximum number of includes?

10 views
Skip to first unread message

Adam Nemitoff

unread,
May 1, 2012, 11:21:08 PM5/1/12
to rav...@googlegroups.com
My brain is fried from long hours on my current project so I need some help:

I have a PhotoAlbum document which references 152 Photo documents by ID and I need to return View Model that for a specific album ID needs to show the album info along with the Title and ETag for each photo. 
I was trying to use session.Include(x=>PhotoId).Load<Album>(albumId) but fiddler shows me that only 68 of the 152 Photo documents are getting returned.
I am guessing that I need to do an index but I haven't wrapped my head around indexing yet.

Oren Eini (Ayende Rahien)

unread,
May 2, 2012, 1:04:10 AM5/2/12
to rav...@googlegroups.com
Adam,
There is no max number of includes.
Can you try reproduce this in a unit test?
Reply all
Reply to author
Forward
0 new messages