Fix DacFx nullable warnings (#2099)

* cleanup dacfx nullable warnings

* use operation's SqlTask

* remove unneccesary variables
This commit is contained in:
Kim Santiago
2023-06-12 10:50:08 -10:00
committed by GitHub
parent 808172bc20
commit fd0f962056
12 changed files with 23 additions and 45 deletions

View File

@@ -2,6 +2,8 @@
// 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 System.Collections.Generic;
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
using Microsoft.SqlTools.ServiceLayer.Utility;
@@ -21,22 +23,22 @@ namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts
/// <summary>
/// Gets or sets name for database
/// </summary>
public string? DatabaseName { get; set; }
public string DatabaseName { get; set; }
/// <summary>
/// Gets or sets target connection string
/// </summary>
public string? ConnectionString { get; set; }
public string ConnectionString { get; set; }
/// <summary>
/// Gets or sets SQLCMD variables for deployment
/// </summary>
public IDictionary<string, string>? SqlCommandVariableValues { get; set; }
public IDictionary<string, string> SqlCommandVariableValues { get; set; }
/// <summary>
/// Gets or sets the options for deployment
/// </summary>
public DeploymentOptions? DeploymentOptions { get; set; }
public DeploymentOptions DeploymentOptions { get; set; }
}
/// <summary>