Exemple #1
0
 public DmucBenhCollection FetchAll()
 {
     DmucBenhCollection coll = new DmucBenhCollection();
     Query qry = new Query(DmucBenh.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemple #2
0
 public DmucBenhCollection FetchByQuery(Query qry)
 {
     DmucBenhCollection coll = new DmucBenhCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemple #3
0
 public DmucBenhCollection FetchByID(object IdBenh)
 {
     DmucBenhCollection coll = new DmucBenhCollection().Where("id_benh", IdBenh).Load();
     return coll;
 }