//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#nullable disable
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
{
public class TableSelectionRange
{
public int FromRow { get; set; }
public int ToRow { get; set; }
public int FromColumn { get; set; }
public int ToColumn { get; set; }
}
///
/// Parameters for the copy results request
///
public class CopyResultsRequestParams : SubsetParams
{
///
/// Whether to remove the line break from cell values.
///
public bool RemoveNewLines { get; set; }
///
/// Whether to include the column headers.
///
public bool IncludeHeaders { get; set; }
///
/// The selections.
///
public TableSelectionRange[] Selections { get; set; }
}
///
/// Result for the copy results request
///
public class CopyResultsRequestResult
{
}
///
/// Copy Results Request
///
public class CopyResultsRequest
{
public static readonly RequestType Type =
RequestType.Create("query/copy");
}
}