is it possible to execute multiple NpgslqCommands against one connection? I mean like:
conn.Open();
ExecuteCommandA(conn);
ExecuteCommandB(conn);
ExecuteCommandC(conn);
conn.Close();
I believe, it should be possible, but is there any issue here? If there is a batch of commands to be executed, that could take a longer time, there is a chance the connection could be lost or some other error can happen.
So it should be tested, right? Also can a command bring the connection into some kind error state?
Thanks for answers...
/IP/