mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 17:24:03 -05:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user