public DiabloNewsRSSConsumer() { _cutOffDateInHours = System.Configuration.ConfigurationManager.AppSettings["CutOffDateInHours"].ToIntegerOrDefault(24); string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["conStr"].ToString(); db = new DialoNewsDBDataContext(connectionString); RSSContentSites = GetRSSContentSites(); }
public NewsInterface() { string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["conStr"].ToString(); db = new DialoNewsDBDataContext(connectionString); }