Exemplo n.º 1
0
 public HoadonMauCollection FetchAll()
 {
     HoadonMauCollection coll = new HoadonMauCollection();
     Query qry = new Query(HoadonMau.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 2
0
 public HoadonMauCollection FetchByQuery(Query qry)
 {
     HoadonMauCollection coll = new HoadonMauCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 3
0
 public HoadonMauCollection FetchByID(object IdHoadonMau)
 {
     HoadonMauCollection coll = new HoadonMauCollection().Where("id_hoadon_mau", IdHoadonMau).Load();
     return coll;
 }