Hello everyone. I'd like to start by saying that my question is nearly identical to question asked last year. http://devnet.kentico.com/questions/documenthelper-documentation but no answer was ever posted there. I am building a custom control and would like to do something like:
DocumentHelper.GetDocuments().InRelationWith(LIST OF GUIDs)
I have created a generic List of Guids, and I would like for GetDocuments() to return documents that are in relation with ANY of the Guids in that collection. Can I not use InRelationWith to do this functionality? If I need to write a custom query, what methods would I start with? Thank you.
I found a way to reach the desired result, but I fear the solution is horribly inefficient. For each guid in a guid list, for each document in relation with that guid, do something.
Please, sign in to be able to submit a new answer.