public int XmlImportAndSaveToDB(int connectionNumber, String tableName, String traceTableName,
String xmlFileName, List<TSImport> tsImportList)
{
// Get the connection that we'll pass along.
SqlConnection connx = GetConnectionFromId(connectionNumber);
// Construct new TSXml object with SqlConnection object and table name
TSXml tsXml = new TSXml(connx, ConnxObject, tableName, traceTableName);
// Method in the TSXml object does all the work
return tsXml.ReadAndStore(xmlFileName, null, tsImportList, true, true);
}