/// <summary>
        /// Here we are initializing the redis connection
        /// </summary>
        public DataCache()

        {
            string connectionString = VCapsEnvParser.GetConnectionString(ServiceType.Redis);

            if (string.IsNullOrEmpty(connectionString))
            {
                Console.WriteLine("From Webconfig");
                _connectionMultiplexer = ConnectionMultiplexer.Connect(ConfigurationManager.ConnectionStrings["Redis"].ConnectionString);
            }
            else
            {
                Console.WriteLine("From VCapParser");
                _connectionMultiplexer = ConnectionMultiplexer.Connect(connectionString);
            }
            _cache = _connectionMultiplexer.GetDatabase();
        }
        public SqlContext() : base("name=DefaultConnection")
        {
            string connectionString = VCapsEnvParser.GetConnectionString(ServiceType.MySql);

            ////You can uncomment the below code to get the json, based on your attribute and then create the connection string from that.
            //if (string.IsNullOrEmpty(connectionString))
            //{
            //    var rawJson = VCapsEnvParser.GetRawData("yourattribute");
            //}

            if (string.IsNullOrEmpty(connectionString))
            {
                Database.SetInitializer(new MigrateDatabaseToLatestVersion <SqlContext, DataAccessLayer.Migrations.Configuration>("DefaultConnection"));
            }
            else
            {
                Database.Connection.ConnectionString = connectionString;
                Database.SetInitializer(new MigrateDatabaseToLatestVersion <SqlContext, DataAccessLayer.Migrations.Configuration>());
            }
        }