in a medium application in asp mvc or windows C# which way is betters: 1- create a public sql connection and use in whole of project? 2- create a new sql connection where is needed?
note: 1- in the ado.net or ef. 2- use of transaction usual. thanks for answer.