public SysTieudeCollection FetchAll() { SysTieudeCollection coll = new SysTieudeCollection(); Query qry = new Query(SysTieude.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysTieudeCollection FetchByQuery(Query qry) { SysTieudeCollection coll = new SysTieudeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysTieudeCollection FetchByID(object MaTieude) { SysTieudeCollection coll = new SysTieudeCollection().Where("ma_tieude", MaTieude).Load(); return coll; }