Esempio n. 1
0
        public TblThongBaoCollection FetchByQuery(Query qry)
        {
            TblThongBaoCollection coll = new TblThongBaoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public TblThongBaoCollection FetchAll()
        {
            TblThongBaoCollection coll = new TblThongBaoCollection();
            Query qry = new Query(TblThongBao.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public TblThongBaoCollection FetchByID(object Id)
        {
            TblThongBaoCollection coll = new TblThongBaoCollection().Where("Id", Id).Load();

            return(coll);
        }