I know that there are many posts that asked this question, but this is a kind of problem that I am facing.
It seems that there are so many different ways to interact with postgres with C #, I donโt know which one is recommended, as many posts are outdated, and it seems that progress has been made in this area.
If possible, I would like to have linq support, and since this is a private project, it should be free.
Some of the features I found are:
Framework Entity (Npgsql)
It seems to have no linq support.
DBLinq, which uses Linq2SQL, not Linq2Entities.
Linq2SQL seems deprecated.
To ask a few questions:
Is it possible (using the currently available software) to set the settings so that I can use the code as shown here ?:
http://msdn.microsoft.com/en-us/library/cc161164.aspx#_Toc188851309
using (NorthwindEntities nw = new NorthwindEntities()) { var customers = from c in nw.Customers where c.City == "London" select c; }
If not, what is the current recommended way to interact with Postgres?
Arokh source share