public RisPhieuCdinhCollection FetchAll() { RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection(); Query qry = new Query(RisPhieuCdinh.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public RisPhieuCdinhCollection FetchByQuery(Query qry) { RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public RisPhieuCdinhCollection FetchByID(object IdPhieu) { RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection().Where("ID_PHIEU", IdPhieu).Load(); return coll; }