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

8.1 Entity Framework 6 Support -- problem (no replies)

$
0
0
In my MVC5 EF6 Code First app, in the root Web.Config, I used the connectionString and provider shown at https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html . Except that I used the actual server where the MySQL databases are, and the name of the actual database, along with my full privilege service account for uid and password.

When I try to create a Controller for one of the Models, I get this Error: There was an error running the selected code generator:
'Unable to retrieve metadata for 'TestUniversity.Models.Student' Using the
same DbCompiledModel to create contexts against different types of database
servers is not supported. Instead, create a separate DbCompiledModel for each
type of server being used.

Is this because of the version of the MySQL database? It is 5.6.13

I received this reply:
this looks like an issue with MySQL Connector/NET. I recommen posting your question in the following forum: https://forums.mysql.com/list.php?38

So here I am. Can you help?
Thank you

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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