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); }
public KcbLichsuInphoiBhytCollection FetchByID(object Id) { KcbLichsuInphoiBhytCollection coll = new KcbLichsuInphoiBhytCollection().Where("id", Id).Load(); return(coll); }