mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-15 01:25:40 -05:00
* WIP for ability to localize cell values * Changing how DateTimeOffsets are stored, getting unit tests going * Reworking BufferFileStreamWriter to use dictionary approach * Plumbing the DbCellValue type the rest of the way through * Removing unused components to simplify contract * Cleanup and making sure byte[] appears in parity with SSMS * CR comments, small tweaks for optimizing LINQ
25 lines
791 B
C#
25 lines
791 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Class used to represent a subset of results from a query for transmission across JSON RPC
|
|
/// </summary>
|
|
public class ResultSetSubset
|
|
{
|
|
/// <summary>
|
|
/// The number of rows returned from result set, useful for determining if less rows were
|
|
/// returned than requested.
|
|
/// </summary>
|
|
public int RowCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 2D array of the cell values requested from result set
|
|
/// </summary>
|
|
public string[][] Rows { get; set; }
|
|
}
|
|
}
|