I have this piece of code.
return Folder.GetAllWithInclude(x => x.SubFolder).Take(5);
This code returns 5 Folder items. What I want to do is limit Subfolder to 5 instead of limiting Folder to 5. I have tried the following
return Folder.GetAllWithInclude(x => x.SubFolder.Take(5));
but it doesn't seem to do the trick.
I might be missing the proper syntax here.
Thank you so much in advance!