mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Adding recommendations to query plan (#1373)
* Adding recommendations * Adding raw graph type in execution plan graph contracts * Fixing function name and concising string formatting * Converting localized string to a function * Using better names in contract props Formatting names in a better way * Getting rid of unnecessary getter, setters and private props * Fixing localized strings, comments and imports * Fixing some contracts * Fixing csproj formatting * Fixing var names * Fixing xml comments
This commit is contained in:
@@ -8925,6 +8925,16 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.ActualOfEstimated, actual, estimated, percent);
|
||||
}
|
||||
|
||||
public static string MissingIndexFormat(string impact, string queryText)
|
||||
{
|
||||
return Keys.GetString(Keys.MissingIndexFormat, impact, queryText);
|
||||
}
|
||||
|
||||
public static string MissingIndexDetailsTitle(string fileName, string impact)
|
||||
{
|
||||
return Keys.GetString(Keys.MissingIndexDetailsTitle, fileName, impact);
|
||||
}
|
||||
|
||||
public static string TableNotInitializedException(string tableId)
|
||||
{
|
||||
return Keys.GetString(Keys.TableNotInitializedException, tableId);
|
||||
@@ -12272,6 +12282,12 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string ActualOfEstimated = "ActualOfEstimated";
|
||||
|
||||
|
||||
public const string MissingIndexFormat = "MissingIndexFormat";
|
||||
|
||||
|
||||
public const string MissingIndexDetailsTitle = "MissingIndexDetailsTitle";
|
||||
|
||||
|
||||
public const string TableNotInitializedException = "TableNotInitializedException";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user