Is it okay to open separate database connections in each method or is there a better way to do it?

Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=FyQW2hQduKk



Duration: 3:18
7 views
0


Is it okay to open separate database connections in each method or is there a better way to do it?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(softwareengineering.stackexchange.com/users/402502/beefriedman)BeeFriedman |
(softwareengineering.stackexchange.com/users/177980/ewan)Ewan |
(softwareengineering.stackexchange.com/users/235743/hans-martin-mosner)Hans-Martin Mosner |
A special thanks goes out to the (https://softwareengineering.stackexchange.com/questions/441868/is-it-okay-to-open-separate-database-connections-in-each-method-or-is-there-a-be)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

sql database c#







Tags:
sql
database
c#