Example #1
0
        public QheThuoctuongduongCollection FetchByQuery(Query qry)
        {
            QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public QheThuoctuongduongCollection FetchAll()
        {
            QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection();
            Query qry = new Query(QheThuoctuongduong.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public QheThuoctuongduongCollection FetchByID(object IdThuoc)
        {
            QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection().Where("id_thuoc", IdThuoc).Load();

            return(coll);
        }