public QheThuoctuongduongCollection FetchByQuery(Query qry) { QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public QheThuoctuongduongCollection FetchAll() { QheThuoctuongduongCollection coll = new QheThuoctuongduongCollection(); Query qry = new Query(QheThuoctuongduong.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }