Trying to connect to PostgreSQL with Entity Framework via Npgsql and C#
I recommend not using Entity Framework with anything else other than SQLSERVER. And then LINQ to SQL may be better. lightspeed was recommended to me as a better product. I personally have not used it.