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