I have project in ASP.NET with postgreSQL database. I do not know what of connection type is better. On one side I in ODBC we have Server Explorer(drag and drop gridview) and on the other side it is not separate application layer from logic layer. Please what of connection type is better ODBC or NpgSQL and why?
Sometging about my project:
- Application ASP.NET using master.page,
- database PostgreSQL with 18 tables and 4 m:n constraints (think it is difficult),
- application have to generate pdf, xml, etc…
In general, I would choose the pure .NET solution over ODBC. I am not familiar with either of these drivers for PostgreSQL, so take this advice with caution. Some “general” arguments are:
I reiterate that the above statements are general ones that may not apply in this specific case but are probably worth considering.