I am using Pomelo.EntityFrameworkCore.MySql provider for MySQL and Entity Framework.
I have a complex dynamically generated query using LINQ and EF:
//