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