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