public DmucNhatkiKedonCollection FetchAll() { DmucNhatkiKedonCollection coll = new DmucNhatkiKedonCollection(); Query qry = new Query(DmucNhatkiKedon.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucNhatkiKedonCollection FetchByQuery(Query qry) { DmucNhatkiKedonCollection coll = new DmucNhatkiKedonCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucNhatkiKedonCollection FetchByID(object Id) { DmucNhatkiKedonCollection coll = new DmucNhatkiKedonCollection().Where("id", Id).Load(); return coll; }