Moved method to get connection string by name into a common location