public DmucBenhCollection FetchByQuery(Query qry) { DmucBenhCollection coll = new DmucBenhCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucBenhCollection FetchAll() { DmucBenhCollection coll = new DmucBenhCollection(); Query qry = new Query(DmucBenh.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucBenhCollection FetchByID(object IdBenh) { DmucBenhCollection coll = new DmucBenhCollection().Where("id_benh", IdBenh).Load(); return(coll); }