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