//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using Microsoft.SqlTools.Hosting.Contracts;
using Microsoft.SqlTools.DataProtocol.Contracts.Connection;
namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer
{
///
/// Information returned from a .
///
public class FindNodesResponse
{
///
/// Information describing the matching nodes in the tree
///
public List Nodes { get; set; }
}
///
/// Parameters to the .
///
public class FindNodesParams
{
///
/// The Id returned from a . This
/// is used to disambiguate between different trees.
///
public string SessionId { get; set; }
public string Type { get; set; }
public string Schema { get; set; }
public string Name { get; set; }
public string Database { get; set; }
public List ParentObjectNames { get; set; }
}
///
/// TODO
///
public class FindNodesRequest
{
public static readonly
RequestType Type =
RequestType.Create("explorer/findnodes");
}
}