Alan Ren
2018-08-14 14:00:46 -07:00
committed by GitHub
parent fb157520d9
commit df3c312984
2 changed files with 29 additions and 9 deletions

View File

@@ -22,6 +22,11 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
/// </summary>
public bool IsNull { get; set; }
/// <summary>
/// Culture invariant display value for the cell, this value can later be used by the client to convert back to the original value.
/// </summary>
public string InvariantCultureDisplayValue { get; set; }
/// <summary>
/// The raw object for the cell, for use internally
/// </summary>
@@ -42,6 +47,7 @@ namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
Validate.IsNotNull(nameof(other), other);
other.DisplayValue = DisplayValue;
other.InvariantCultureDisplayValue = InvariantCultureDisplayValue;
other.IsNull = IsNull;
other.RawObject = RawObject;
other.RowId = RowId;