kentico 12 MVC development multiple parameter in query

innovix solutions asked on August 2, 2019 04:58

Hi All,

How can we query with multiple Node GUID ?

Recent Answers


Brenden Kehren answered on August 2, 2019 05:12

Use the document query syntax:

.WhereIn(21,34,567,876)

I'm not sure why you'd look by nodeid though. NodeID does distinguish a specific language if you're using multilingual abilities.

0 votesVote for this answer Mark as a Correct answer

innovix solutions answered on August 2, 2019 05:17 (last edited on August 2, 2019 05:18)

Below is my code.

Detail detail = Provider.GetDetail(current_nodeAliasPath, "en-US", "ProjectName");

Where can i put wherein ? we want to pass multiple nodeAliasPath.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 2, 2019 13:29

Check out the documentation on object query.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.