How do I connect C# with Postgres?

前端 未结 3 537
Happy的楠姐
Happy的楠姐 2021-02-02 07:05

How do I Connect C# with Postgres? I download the npgsql data provider but couldn\'t make it work. Are there more examples than the ones in the Postgres site?

Cheers,

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 08:03

    Here is a walkthrough, Using PostgreSQL in your C# (.NET) application (An introduction):

    In this article, I would like to show you the basics of using a PostgreSQL database in your .NET application. The reason why I'm doing this is the lack of PostgreSQL articles on CodeProject despite the fact that it is a very good RDBMS. I have used PostgreSQL back in the days when PHP was my main programming language, and I thought.... well, why not use it in my C# application.

    Other than that you will need to give us some specific problems that you are having so that we can help diagnose the problem.

提交回复
热议问题