Bug #99523 | MySql.Data.EntityFrameworkCore Nuget Package 8.0.20 | ||
---|---|---|---|
Submitted: | 12 May 2020 9:06 | Modified: | 10 Jul 2020 19:05 |
Reporter: | varun wadhwa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 8.0.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | .net, .NetCore, EntityFrameworkCore, MySql.Data.EntityFrameworkCore |
[12 May 2020 9:06]
varun wadhwa
[12 May 2020 9:22]
varun wadhwa
public List<SelectListItem> y() { var a = new List<SelectListItem>(); a = _context.Emp.OrderBy(x => x.EmpId).Select(n => new SelectListItem { Value = Convert.ToString(n.EmpId), Text = n.Name }).ToList(); return a; }
[10 Jul 2020 19:05]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.0.22 release, and here's the proposed changelog entry from the documentation team: A SQL syntax error was reported on valid code for creating a dynamic dropdown list from data in an ASP.NET Core application. Thank you for the bug report.