Exemplo n.º 1
0
        public QheThuoctuongduongCollection FetchByQuery(Query qry)
        {
            QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection();

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

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

            return(coll);
        }