Skip to content

Commit

Permalink
Fixed error executing DML commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Nov 13, 2021
1 parent 5ecac2a commit b2d744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MarkMpn.Sql4Cds/SqlQueryControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
}
else if (query is IDmlQueryExecutionPlanNode dmlQuery)
{
var result = dmlQuery.Execute(DataSources.Cast<Engine.DataSource>().ToDictionary(ds => ds.Name, StringComparer.OrdinalIgnoreCase), options, null, null);
var result = dmlQuery.Execute(DataSources.Values.Cast<Engine.DataSource>().ToDictionary(ds => ds.Name, StringComparer.OrdinalIgnoreCase), options, null, null);

Execute(() => ShowResult(query, args, null, result, null));
}
Expand Down

0 comments on commit b2d744d

Please sign in to comment.