Skip to content

Commit

Permalink
assign parameters in locator (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuti149 authored Feb 22, 2024
1 parent a790562 commit 72bb5c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Microsoft.SqlTools.Migration/MigrationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ internal async Task<MigrationAssessmentResult> GetAssessmentItems(string[] conne
XEventsFilesFolderPath = xEventsFilesFolderPath,
};
locator.ConnectionStrings.AddRange(connectionStrings);
locator.AdHocQueriesParameters = parameters;
DmaEngine engine = new DmaEngine(locator);

ISqlMigrationAssessmentModel contextualizedAssessmentResult = await engine.GetTargetAssessmentResultsListWithCheck(System.Threading.CancellationToken.None);
Expand Down

0 comments on commit 72bb5c9

Please sign in to comment.