Files
sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/Admin/Contracts/DefaultDatabaseInfoRequest.cs
Karl Burtram 2e9843cec1 Merge create db work in progress (#341)
* Port over initial block of create db implementation

* Test case placeholder

* In-progress work

* Stage changes to other machine

* Add database prototype strings

* Stage changes to other machine

* Stage changes

* Hook the database info into capabilities discovery

* Stage changes

* Update SMO to latest from ssms_main

* Various clean-ups

* Update localization files
2017-05-09 17:56:32 -07:00

29 lines
795 B
C#

//
// 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;
namespace Microsoft.SqlTools.ServiceLayer.Admin.Contracts
{
public class DefaultDatabaseInfoParams
{
public string OwnerUri { get; set; }
}
public class DefaultDatabaseInfoResponse
{
public DatabaseInfo DefaultDatabaseInfo { get; set; }
}
public class DefaultDatabaseInfoRequest
{
public static readonly
RequestType<DefaultDatabaseInfoParams, DefaultDatabaseInfoResponse> Type =
RequestType<DefaultDatabaseInfoParams, DefaultDatabaseInfoResponse>.Create("admin/defaultdatabaseinfo");
}
}