I'm using PostgreSQL as a backend and writing the front end in C#. Right now I'm using the NPSQL driver as I read it is alot faster than the ODBC driver. However, the NPSQL driver doesn't integrate well with Visual Studio. So I'm wondering if slower development is worth the increase in speed.
For instance, let's say I have a form with a text box on it. If I want to pull the text data from that text box and pass it to a SQL function that is expecting a string, I have to mark it up with surrounding quotes and all that using C# string processing. It's a real pain. I would rather just pass the text box data right into the sql function and be done with it. It makes for messy code.
Do you guys have some recommendations for me?
For instance, let's say I have a form with a text box on it. If I want to pull the text data from that text box and pass it to a SQL function that is expecting a string, I have to mark it up with surrounding quotes and all that using C# string processing. It's a real pain. I would rather just pass the text box data right into the sql function and be done with it. It makes for messy code.
Do you guys have some recommendations for me?