private string RunQueryAndGetPath(string fileName, QueryResult qResult) { var newFileName = fileName + FILE_ADDITION; var header = "\t\tDo NOT approve\r\n\t\tThis File will be Deleted\r\n\t\tit is for feedback purposes only\r\n"; File.WriteAllText(newFileName, string.Format("{0}query:\r\n\r\n{1}\r\n\r\nresult:\r\n\r\n{2}", header, qResult.Query, qResult.Result)); return newFileName; }
private static string RunQueryAndGetPath(string fileName, QueryResult result) { var newFileName = fileName + FileNameSuffix; File.WriteAllText(newFileName, string.Format("{0}query:\r\n\r\n{1}\r\n\r\nresult:\r\n\r\n{2}", Header, result.Query, result.Result)); return newFileName; }