mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-10 02:02:37 -05:00
DacFx import/export (#728)
Adding DacFx import/export/deploy/extract functionality
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// 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.TaskServices;
|
||||
using Microsoft.SqlTools.ServiceLayer.Utility;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Parameters for a DacFx extract request.
|
||||
/// </summary>
|
||||
public class ExtractParams : DacFxParams
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the string identifier for the DAC application
|
||||
/// </summary>
|
||||
public string ApplicationName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the version of the DAC application
|
||||
/// </summary>
|
||||
public Version ApplicationVersion { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the DacFx extract request type
|
||||
/// </summary>
|
||||
class ExtractRequest
|
||||
{
|
||||
public static readonly RequestType<ExtractParams, DacFxResult> Type =
|
||||
RequestType<ExtractParams, DacFxResult>.Create("dacfx/extract");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user