About Database Activities
The database activities allow us to connect to a database and execute a set of queries or non queries with or without a transaction.
To connect to a database, we can either create a connection and use it for all the other queries, non queries, transactions or set up a connection for every activity using the provider name and connection string.
When using OpenConnection, we generate a connection variable that can be used for all other database activities as explained above.