How to create dynamic LinqToXml query?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi, i need to create some sort of dynamic LinqToXML query.
i have some method that takes few parameters like
void Method(List[] list1,List[] list2, string str, int i....)
{ // }
i only need to check if exact node in xdoc exists.
but the problem is that list1 and list2 can have more than one member in list,
so i need to create dynamic where clause depending on number of elements in list.
Is there any solution for this scenario for LinqToXml?
thx...


View the full article
 
Back
Top