コード例 #1
0
        public TimeEntryCollection FetchByQuery(Query qry)
        {
            TimeEntryCollection coll = new TimeEntryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public TimeEntryCollection FetchAll()
        {
            TimeEntryCollection coll = new TimeEntryCollection();
            Query qry = new Query(TimeEntry.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }