Do you need to create a new connection every time you call? Or should we constantly keep open one connection through which everyone should work? Now every time when I need to connect to the database I create a new connection:
SqlConnection connection = new SqlConnection(connectionString);
Well, then close it. But how to make the entire application have only one common connection? And is it necessary to do that at all?