示例#1
0
        public TargetHistoryCollection FetchByQuery(Query qry)
        {
            TargetHistoryCollection coll = new TargetHistoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public TargetHistoryCollection FetchAll()
        {
            TargetHistoryCollection coll = new TargetHistoryCollection();
            Query qry = new Query(TargetHistory.Schema);

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

            return(coll);
        }
示例#4
0
        public TargetHistoryCollection FetchByID(object HistoryID)
        {
            TargetHistoryCollection coll = new TargetHistoryCollection().Where("historyID", HistoryID).Load();

            return(coll);
        }