Example #1
0
        public static string GetConnectionString()
        {
            IConfigurationRoot Configuration = DBStart.GetAppSettings();
            var connectionString             = Configuration.GetConnectionString("LinnworksDB");

            return(connectionString.ToString());
        }
Example #2
0
        public DBManager()
        {
            string connectionString = DBStart.GetConnectionString();

            Connection = DBAccess.OpenConnection(connectionString);
        }