使用mysql SP的实体框架 [英] Entity framework with mysql SP
本文介绍了使用mysql SP的实体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个MVC应用程序,在该应用程序中我正在使用MYSQL数据库。我的数据库我创建了一些存储过程,当我尝试使用实体框架访问那些存储过程然后结果没有得到。
任何解决方案?
我尝试了什么:
实体框架与MySQL存储过程无法正常工作
解决方案
EF不支持开箱即用的MySQL,你需要他们的提供商
MySQL :: MySQL Connector / Net开发人员指南:: 9 EF 6支持 [< a href =https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html\"target =_ blanktitle =New Window> ^ ]
I have one MVC Application, in that application i am using MYSQL Database. i that DB i have created some stored procedure , wheneve i tried to access those stored procedure using Entity Framework then result not getting.
Any Solution?
What I have tried:
Entity Framework with MySQL Stored Procedure not working
解决方案
EF doesn't support MySQL out of the box, you'll need their provider
MySQL :: MySQL Connector/Net Developer Guide :: 9 EF 6 Support[^]
这篇关于使用mysql SP的实体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文