Ejemplo n.º 1
0
        public TargetHistoryCollection FetchByQuery(Query qry)
        {
            TargetHistoryCollection coll = new TargetHistoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public TargetHistoryCollection FetchAll()
        {
            TargetHistoryCollection coll = new TargetHistoryCollection();
            Query qry = new Query(TargetHistory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public TargetHistoryCollection FetchByTargetID(object TargetID)
        {
            TargetHistoryCollection coll = new TargetHistoryCollection().Where("IDtarget", TargetID).Load();

            return(coll);
        }
Ejemplo n.º 4
0
        public TargetHistoryCollection FetchByID(object HistoryID)
        {
            TargetHistoryCollection coll = new TargetHistoryCollection().Where("historyID", HistoryID).Load();

            return(coll);
        }