public BestBuyAnalysis() { var d = new System.Configuration.AppSettingsReader().GetValue("MongoConnection", typeof(string)); _client = new MongoDB.Driver.MongoClient(d.ToString()); _database = _client.GetDatabase("PieAnalytics"); }