Here in my application is using the following steps for a process.
In those above steps, Login, Search, and Update actions are touching to database everytime. In each time, Im getting the Context object, I think this is a bad approach. When I hit the login, I need to get the connection object and use that for rest of the actions(search and update).
So can we organize the single connection through out the application? And where do we need to close the Context object?