EF6 with MySQL Code First - Add Model is not working
Posted by: Vijay Thakur
Date: November 12, 2017 05:26PM

I am trying Entity Framework with MySQL for first time. I am using the code from "https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html"; for sample coding. I am using the code as it is(no change) .Initially I tried using MySQL Server 5.7, Entity Framework 6.1.3, MySQL.Data 6.10.4, MySQL.Data.Entity 6.10.4 and MySQL Connector/Net 6.10.4 . Since there was some configuration issue with MySQL.Data 6.10.4, I used 6.9.10.

As I mentioned, I am using using exactly the same sample code.I am getting the following exception -"InnerException {"Procedure or function '`Car_Insert`' cannot be found in database '`pct_saga`'."} System.Exception {MySql.Data.MySqlClient.MySqlException}".

How can I fix it ?

Options: ReplyQuote

Written By
EF6 with MySQL Code First - Add Model is not working
November 12, 2017 05:26PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.