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