Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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
Posted
Updated 5-Jul-16 20:22pm
v2

1 solution

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 :)
 
Share this answer
 
Comments
[no name] 6-Jul-16 6:32am    
thank you very much..ill keep in touch with u!
[no name] 7-Jul-16 1:44am    
Hai am getting a block while trying the second methode(http://rob.conery.io/2014/02/05/using-entity-framework-6-with-postgresql/) i am not able to migrate when am using pakage console getting this error- + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
i didnt understand what the problem is
Suvendu Shekhar Giri 7-Jul-16 2:03am    
Try debugging to see where the problem is and share the info here.
[no name] 8-Jul-16 1:35am    
not while executing..getting this error on package console..as i followed on the second mtd

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900