public void Update() { var factory = Company.CompanyFactory(); using (IDbConnection db = factory.OpenDbConnection()) { List <EdgarFiling> filings = db.Select <EdgarFiling>(filing => filing.Ticker == this._ticker); foreach (EdgarFiling filing in filings) { EdgarParser parser = new EdgarParser(filing); parser.Parse(); } } }
public void Update() { var factory = Company.CompanyFactory(); using (IDbConnection db = factory.OpenDbConnection()) { List<EdgarFiling> filings = db.Select<EdgarFiling>(filing => filing.Ticker == this._ticker); foreach (EdgarFiling filing in filings) { EdgarParser parser = new EdgarParser(filing); parser.Parse(); } } }