DB2 / 400的MVC4 EF连接问题 [英] MVC4 EF connectivity issue with DB2/400
问题描述
亲爱的先生,
非常感谢您的支持和建议。
i遇到问题,问题是我想开发一个MVC应用程序而我的数据库是DB2 / 400(后端)也用于实体框架,但无法建立connection.pls帮助我。
技术:MVC 4
连接模式:实体框架
数据库:DB2 / 400
问候。
Daulat Singh。
邮件ID:xxx@gmail.com
我尝试过:
i是MVC中的frashers所以不能尝试更多。
Dear Sir,
many thanks for support and Suggestion.
i have face a problem ,problem is that i want to develop a MVC application and my database is DB2/400 (Backend) also use to Entity Framework but Can't establish connection.pls help me.
Technology : MVC 4
Connectivity Mode : Entity framework
Database : DB2/400
Regards.
Daulat Singh.
mail id: xxx@gmail.com
What I have tried:
i am frashers in MVC so can't try much more.
推荐答案
您是否已将DB2的提供程序支持安装到您的项目中?
请参阅此 [< a href =https://www.nuget.org/packages/EntityFramework.IBM.DB2/\"target =_ blanktitle =New Window> ^ ]。
Did you install the provider support for DB2 into your project?
See this[^].
你应该看看这个链接,它应该是你正在寻找的东西:
使用DB2表格使用ASP.NET MVC [ ^ ]
You should actually take a look at this link, it should be the exact thing that you are looking for:
Linking ASP.NET MVC with DB2 Table[^]
这篇关于DB2 / 400的MVC4 EF连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!