mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-20 17:24:00 -05:00
* Make nullable warnings a per file opt-in * Remove unneeded compiler directives * Remove compiler directive for User Data
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
//
|
|
// 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.DacFx.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Parameters to get objects from SQL model
|
|
/// </summary>
|
|
public class GetObjectsFromTSqlModelParams
|
|
{
|
|
/// <summary>
|
|
/// URI of the project file this model is for
|
|
/// </summary>
|
|
public string ProjectUri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Object types to query
|
|
/// </summary>
|
|
public string[] ObjectTypes { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines the get objects sql model request
|
|
/// </summary>
|
|
class GetObjectsFromTSqlModelRequest
|
|
{
|
|
public static readonly RequestType<GetObjectsFromTSqlModelParams, TSqlObjectInfo[]> Type =
|
|
RequestType<GetObjectsFromTSqlModelParams, TSqlObjectInfo[]>.Create("dacFx/getObjectsFromTSqlModel");
|
|
}
|
|
}
|