Is there a better way to call the same method with different parameters?
I think you could create a new saveToDB method that requires a Dictionary&lt;string, XmlNodeList&gt; inside this new method you could cycle through the Keys (string) and for each one call the current saveToDB(string, XmlNodeList).

Yes, it only move your problem: you've to prefill the dictionary, but I really think there's no other options... at one point you HAVE to enumerate your datas.