public QheThuoctuongduongCollection FetchAll() { QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection(); Query qry = new Query(QheThuoctuongduong.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public QheThuoctuongduongCollection FetchByQuery(Query qry) { QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public QheThuoctuongduongCollection FetchByID(object IdThuoc) { QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection().Where("id_thuoc", IdThuoc).Load(); return coll; }