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