I get the "you have an error in your sql syntax entity framework" while trying to update the data in my MySQL database. I'm developing an MVC 4 ASP.NET application using a .edmx file to interact with the database.
This is my case: I have two tables: A and B. A has many B's and B has many A's so i made a C table with a foreign key to A and a foreign key to B. Now i'm trying to delete one of those rows in C. As i step on the db.SaveChanges(); line, it throws me an exception that says what i already mentioned.
Does anybody know how can I fix it?