Query execution settings support (#812)

* WIP

* WIP 3

* WIP 3

* Additional query settings updates

* Add settings tets

* Address code review feeback

* Updates from testing
This commit is contained in:
Karl Burtram
2019-05-16 15:21:17 -07:00
committed by GitHub
parent db70f421ae
commit 151a2de625
14 changed files with 1119 additions and 69 deletions

View File

@@ -0,0 +1,27 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
using Microsoft.SqlTools.ServiceLayer.SqlContext;
namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
{
/// <summary>
/// Parameters for the query execution options request
/// </summary>
public class QueryExecutionOptionsParams
{
public string OwnerUri { get; set; }
public QueryExecutionSettings Options { get; set; }
}
public class QueryExecutionOptionsRequest
{
public static readonly
RequestType<QueryExecutionOptionsParams, bool> Type =
RequestType<QueryExecutionOptionsParams, bool>.Create("query/setexecutionoptions");
}
}