Added more options to SaveResultsAsCsvRequestParams (#669)

Fixes Microsoft/sqlopsstudio#203
Options:
LineSeperator
TextIdentifier
Encoding
This commit is contained in:
Sebastian Pfliegel
2018-08-01 21:15:11 +02:00
committed by Karl Burtram
parent d09810980a
commit 84f62a3e85
5 changed files with 226 additions and 22 deletions

View File

@@ -79,9 +79,24 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
public bool IncludeHeaders { get; set; }
/// <summary>
/// Delimeter for separating data items in CSV
/// Delimiter for separating data items in CSV
/// </summary>
public string Delimiter { get; set; }
/// <summary>
/// either CR, CRLF or LF to seperate rows in CSV
/// </summary>
public string LineSeperator { get; set; }
/// <summary>
/// Text identifier for alphanumeric columns in CSV
/// </summary>
public string TextIdentifier { get; set; }
/// <summary>
/// Encoding of the CSV file
/// </summary>
public string Encoding { get; set; }
}
/// <summary>