Exemplo n.º 1
0
 public TThethuocCollection FetchAll()
 {
     TThethuocCollection coll = new TThethuocCollection();
     Query qry = new Query(TThethuoc.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 2
0
 public TThethuocCollection FetchByQuery(Query qry)
 {
     TThethuocCollection coll = new TThethuocCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 3
0
 public TThethuocCollection FetchByID(object IdThuoc)
 {
     TThethuocCollection coll = new TThethuocCollection().Where("id_thuoc", IdThuoc).Load();
     return coll;
 }