Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
824 views
in Technique[技术] by (71.8m points)

c# - Entity Framework + MySQL class generating

I try to connect MySql database by using Entity Framework but visual studio do not want to generate *.edmx?

I have 1 table in db,
-choose ado.net edm,
-select the Generate from Database
-choose db
-here I think I should select tables, but the wizard closes

I try to use different version of EF, but still nothing works. What is the problem?

my software:
-Windows 7 *64
-vs 2017 community
-mySql 8.0 community

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This is a known bug in MySQL Connector/NET:

You will need to wait for Oracle to fix this bug and ship an update. Some people have reported being able to work around the problem by following these instructions.

See also these previous SO questions:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...