mysql+EFCodeFirst
来源:互联网 发布:昆山软件行业协会 编辑:程序博客网 时间:2024/06/05 18:07
问题总结:
1.需要安装的软件:
(1)mysql数据库
(2)mysql connector net
(3)EFPowerTools.vsix
(4)mysql-for-visualstudio-1.2.3.msi
2.扩展
(1)使用udl测试mysql数据库需要使用mysql-connector-odbc-5.1.6-win32.msi驱动。在odbc源中添加mysql数据源。
3.主要事项
(1)出现下面错误,解决方法为:persistsecurityinfo=True;
System.Data.ProviderIncompatibleException: The provider did not return a ProviderManifestToken string. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: NO)
(2)出现下面错误,解决方法为:添加System.Data.Entity程序集
Error1The type 'System.Data.Objects.ObjectContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
- mysql+EFCodeFirst
- EFCodeFirst-Net
- EFCodeFirst package 安装方法
- EFCodeFirst安装解决方案
- EFCodeFirst级联删除
- 如何解决EFCodeFirst安装失败
- vs2010 利用NuGet来安装EFCodeFirst
- asp.net MVC EFCodeFirst 生成数据库注意事项
- EFcodeFirst+T4=操纵任意数据库
- EFCodeFirst安装失败(包括EntityFrameWork安装),这样解决。。。
- EFCodeFirst安装失败(包含EntityFrameWork安装)解决规划
- EFCodeFirst安装失败(包含EntityFrameWork安装)解决规划
- EFCodeFirst安装失败(包括EntityFrameWork安装),这样解决
- 在ASP.NET MVC3中使用EFCodeFirst 1.0
- 在ASP.NET MVC3中使用EFCodeFirst 1.0
- EFCodeFirst安装失败(包括EntityFrameWork安装),这样解决。。。
- VS2010安装EFCodeFirst后无法显示ADO.NET DbContext Generator项目的解决方案
- MVC3的EFCodeFirst安装失败(包含EntityFrameWork安装)解决规划
- Java操作pdf文件
- POJ 2299 Ultra-QuickSort (归并排序)
- HTTP报文-->MVC:http://www.iteye.com/topic/1124408
- My first Blog!
- redis入门之centos环境下快速安装
- mysql+EFCodeFirst
- [MFC]90条技巧-带目录(转自网上)
- JSP详细篇——EL表达式(二)
- 1、mybatis
- 对象序列化成字符串与反序列化为对象
- PhoneGap环境搭建(android平台)
- 验证复数...........
- Zookeeper异常ConnectionLossException解决
- SPSiteDataQuery不完全使用手册