mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
added DatabaseName field (#1166)
This commit is contained in:
@@ -33,6 +33,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string TargetName { get; set; }
|
public string TargetName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the database name.
|
||||||
|
/// </summary>
|
||||||
|
public string DatabaseName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets check's ID.
|
/// Gets or sets check's ID.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration
|
|||||||
HelpLink = r.Check.HelpLink,
|
HelpLink = r.Check.HelpLink,
|
||||||
Level = r.Check.Level.ToString(),
|
Level = r.Check.Level.ToString(),
|
||||||
TargetName = targetName,
|
TargetName = targetName,
|
||||||
|
DatabaseName = migrationResult.DatabaseName,
|
||||||
Tags = r.Check.Tags.ToArray(),
|
Tags = r.Check.Tags.ToArray(),
|
||||||
TargetType = target.Type,
|
TargetType = target.Type,
|
||||||
RulesetName = Engine.Configuration.DefaultRuleset.Name,
|
RulesetName = Engine.Configuration.DefaultRuleset.Name,
|
||||||
|
|||||||
Reference in New Issue
Block a user