Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

EF6 with MySQL Code First - Add Model is not working (no replies)

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>