<small id='b0DVU'></small><noframes id='b0DVU'>

    1. <i id='b0DVU'><tr id='b0DVU'><dt id='b0DVU'><q id='b0DVU'><span id='b0DVU'><b id='b0DVU'><form id='b0DVU'><ins id='b0DVU'></ins><ul id='b0DVU'></ul><sub id='b0DVU'></sub></form><legend id='b0DVU'></legend><bdo id='b0DVU'><pre id='b0DVU'><center id='b0DVU'></center></pre></bdo></b><th id='b0DVU'></th></span></q></dt></tr></i><div id='b0DVU'><tfoot id='b0DVU'></tfoot><dl id='b0DVU'><fieldset id='b0DVU'></fieldset></dl></div>
        <bdo id='b0DVU'></bdo><ul id='b0DVU'></ul>
      1. <legend id='b0DVU'><style id='b0DVU'><dir id='b0DVU'><q id='b0DVU'></q></dir></style></legend>

        <tfoot id='b0DVU'></tfoot>
      2. 实体框架向导在 MySQL 上崩溃

        Entity Framework wizard crashes on MySQL(实体框架向导在 MySQL 上崩溃)
        1. <tfoot id='qvjwa'></tfoot>
            <tbody id='qvjwa'></tbody>

          <small id='qvjwa'></small><noframes id='qvjwa'>

            • <bdo id='qvjwa'></bdo><ul id='qvjwa'></ul>
              <legend id='qvjwa'><style id='qvjwa'><dir id='qvjwa'><q id='qvjwa'></q></dir></style></legend>

                  <i id='qvjwa'><tr id='qvjwa'><dt id='qvjwa'><q id='qvjwa'><span id='qvjwa'><b id='qvjwa'><form id='qvjwa'><ins id='qvjwa'></ins><ul id='qvjwa'></ul><sub id='qvjwa'></sub></form><legend id='qvjwa'></legend><bdo id='qvjwa'><pre id='qvjwa'><center id='qvjwa'></center></pre></bdo></b><th id='qvjwa'></th></span></q></dt></tr></i><div id='qvjwa'><tfoot id='qvjwa'></tfoot><dl id='qvjwa'><fieldset id='qvjwa'></fieldset></dl></div>
                • 本文介绍了实体框架向导在 MySQL 上崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我的问题类似于,典型的崩溃原因是 MySQL 连接器和 MySQL.Data.Entity 的版本不匹配.

                  您得到错误版本的最可能原因是包名从 MySQL.Data.Entity 更改为 MySql.Data.EntityFramework.

                  我花了很多时间来尝试线程中的答案,所以仅供参考.

                  My question is similar to this one but the crash happens later. I must interoperate an EF database-first model between SQL Server and MySQL. More specifically, my application had plain SQL queries fired to either SQL Server or MySQL according to connection string and configuration setting (DB_TYPE=MYSQL, etc.), having both databases with same structure and maintained together, so that each modification to one's schema was reapplied to the other.

                  Now I added EF support to the application using SQL Server database-first model. I must now let the application run on MySQL too. In order to verify that the old developer didn't leave something disaligned between the two DBMSes, I tried to Update model against database* and this time I selected the MySQL connection to my development database on localhost.

                  After I click Next on the screen below, it will simply crash and return to EDMX editor

                  I need to go ahead with the project, I'm stuck on this since a while.

                  Here is my Web.config fragment:

                  <entityFramework>
                      <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
                        <parameters>
                          <parameter value="v11.0" />
                        </parameters>
                      </defaultConnectionFactory>
                      <providers>
                        <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
                        <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
                      </providers>
                    </entityFramework>
                    <system.data>
                      <DbProviderFactories>
                        <remove invariant="MySql.Data.MySqlClient" />
                        <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
                      </DbProviderFactories>
                    </system.data>
                  

                  How can I solve my problem? I reinstalled MySQL tools for Visual Studio but didn't help.

                  *I use a localized version of Visual Studio, so I don't know the original English for all commands

                  解决方案

                  It has been answered in another thread, the typical crash reason is the mismatched versions of MySQL connector and MySQL.Data.Entity.

                  And most likely reason for you to get the wrong version is because of the package name changed from MySQL.Data.Entity to MySql.Data.EntityFramework.

                  I was spending a lot of time on trying the answers in the thread, so just FYI.

                  这篇关于实体框架向导在 MySQL 上崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                  MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)

                  <small id='63DkK'></small><noframes id='63DkK'>

                  <i id='63DkK'><tr id='63DkK'><dt id='63DkK'><q id='63DkK'><span id='63DkK'><b id='63DkK'><form id='63DkK'><ins id='63DkK'></ins><ul id='63DkK'></ul><sub id='63DkK'></sub></form><legend id='63DkK'></legend><bdo id='63DkK'><pre id='63DkK'><center id='63DkK'></center></pre></bdo></b><th id='63DkK'></th></span></q></dt></tr></i><div id='63DkK'><tfoot id='63DkK'></tfoot><dl id='63DkK'><fieldset id='63DkK'></fieldset></dl></div>
                  <tfoot id='63DkK'></tfoot>
                    <bdo id='63DkK'></bdo><ul id='63DkK'></ul>
                          <tbody id='63DkK'></tbody>

                            <legend id='63DkK'><style id='63DkK'><dir id='63DkK'><q id='63DkK'></q></dir></style></legend>