Exemplo n.º 1
0
 public TThuockhoCollection FetchAll()
 {
     TThuockhoCollection coll = new TThuockhoCollection();
     Query qry = new Query(TThuockho.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 2
0
 public TThuockhoCollection FetchByQuery(Query qry)
 {
     TThuockhoCollection coll = new TThuockhoCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 3
0
 public TThuockhoCollection FetchByID(object IdThuockho)
 {
     TThuockhoCollection coll = new TThuockhoCollection().Where("id_thuockho", IdThuockho).Load();
     return coll;
 }