예제 #1
0
        public TLogCollection FetchByQuery(Query qry)
        {
            TLogCollection coll = new TLogCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TLogCollection FetchAll()
        {
            TLogCollection coll = new TLogCollection();
            Query          qry  = new Query(TLog.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TLogCollection FetchByID(object LogId)
        {
            TLogCollection coll = new TLogCollection().Where("Log_ID", LogId).Load();

            return(coll);
        }