private void DoPreConversion() { Logger.Info("Doing pre-conversion job"); foreach (string filePath in _listPreConversionScript) { try { StreamReader reader = new StreamReader(filePath); string sqlScript = reader.ReadToEnd(); _sourceDatabase.ExecuteScript(sqlScript); reader.Close(); } catch (Exception exc) { Logger.Error("Can not run pre-conversion script from " + filePath); } } }