Stashing ConnectionString in class
I have a class that initializes with a Connection String that various functions in the class use to access the SQL Database referenced. Currently the class stashes the passed in ConnectionString in a private readonly string. As I am writing the using statement for the hundredth time in the functions: using (SqlConnection SQLCon = new… Read More Stashing ConnectionString in class