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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public TblThongBaoCollection FetchByID(object Id)
        {
            TblThongBaoCollection coll = new TblThongBaoCollection().Where("Id", Id).Load();

            return(coll);
        }