public ExpenseEntryCollection FetchByQuery(Query qry) { ExpenseEntryCollection coll = new ExpenseEntryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExpenseEntryCollection FetchAll() { ExpenseEntryCollection coll = new ExpenseEntryCollection(); Query qry = new Query(ExpenseEntry.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }