public DmucChungCollection FetchAll() { DmucChungCollection coll = new DmucChungCollection(); Query qry = new Query(DmucChung.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucChungCollection FetchByQuery(Query qry) { DmucChungCollection coll = new DmucChungCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucChungCollection FetchByID(object Ma) { DmucChungCollection coll = new DmucChungCollection().Where("MA", Ma).Load(); return coll; }