When I decided to use an OR/M (Entity Framework for MySQL this time) for my new project I was hoping it would save me time, but I seem to have failed it (for the second time
You can also get the SQL from the EF provider via ToTraceString.