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); }
public TargetHistoryCollection FetchByTargetID(object TargetID) { TargetHistoryCollection coll = new TargetHistoryCollection().Where("IDtarget", TargetID).Load(); return(coll); }
public TargetHistoryCollection FetchByID(object HistoryID) { TargetHistoryCollection coll = new TargetHistoryCollection().Where("historyID", HistoryID).Load(); return(coll); }