mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
* 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
29 lines
795 B
C#
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");
|
|
}
|
|
}
|