Support 'for XML and for JSON' queries (#75)

* Set isXMl and isJson for 'for xml/json' resultSets

* Change string comparison

* Modify if-else
This commit is contained in:
Sharon Ravindran
2016-10-06 11:35:29 -07:00
committed by GitHub
parent 46f0638283
commit fea9bb43c5
2 changed files with 38 additions and 1 deletions

View File

@@ -182,7 +182,12 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
/// <summary>
/// Whether or not the column is XML
/// </summary>
public bool IsXml { get; private set; }
public bool IsXml { get; set; }
/// <summary>
/// Whether or not the column is JSON
/// </summary>
public bool IsJson { get; set; }
#endregion