请帮我! ! !如何将我的MVC应用程序连接到postgresql?或实体框架工作? [英] Please help me! ! ! How can I connect my MVC application to postgresql? Or entity frame work?

查看:159
本文介绍了请帮我! ! !如何将我的MVC应用程序连接到postgresql?或实体框架工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我需要帮助..实际上是.net技术的新手。使用POSTGRESQL开发MVC应用程序。如何将它用作实体框架?或者我如何与该数据库连接。请帮助我



我尝试过:



我试图使用实体框架。但是我找不到postgresql的参考

Hi i need a help..actually am new to the .net technology.developing a MVC application using POSTGRESQL .How can i use it as a entity framework? or how can i connect with that database.please help me

What I have tried:

I tried to using entity framework.But i couldnot find the reference of postgresql

推荐答案

如果你尝试了一些东西但是没有用的话如果您发布错误或发布详细信息,我们可以提供帮助。但是看起来,你还没有尝试过,我们只能推荐一些你可以找到的教程或文章,如果用谷歌搜索到合适的关键词。



这里是来自CodeProject的文章 -

在ASP.NET MVC中使用PostgreSQL和Entity Framework [ ^ ]

和另一篇文章更侧重于使用PostgreSQL的EntityFramework-

Rob Conery |使用Entity Framework 6和PostgreSQL [ ^ ]



开始使用这些,尝试按照文章中的建议下载示例项目,看看是否有所作为如你所愿。如有任何困难,请告诉我。



希望,有帮助:)
If you have tried something and that didn't work then we could have help if you had posted the error or issue details. But as it seems, you are yet to try it, we only can suggest some tutorials or articles which you could have find if searched in google with proper keywords.

Here is an article from CodeProject-
Using PostgreSQL with Entity Framework in ASP.NET MVC[^]
and another article more focused on EntityFramework with PostgreSQL-
Rob Conery | Using Entity Framework 6 with PostgreSQL[^]

Get started with these, try to download the sample project as suggested in the article and see if things goes as you want. In case of any difficulties, please let me know.

Hope, it helps :)


这篇关于请帮我! ! !如何将我的MVC应用程序连接到postgresql?或实体框架工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆