public DmucGoikhamKiemdinhCollection FetchAll() { DmucGoikhamKiemdinhCollection coll = new DmucGoikhamKiemdinhCollection(); Query qry = new Query(DmucGoikhamKiemdinh.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucGoikhamKiemdinhCollection FetchByQuery(Query qry) { DmucGoikhamKiemdinhCollection coll = new DmucGoikhamKiemdinhCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmucGoikhamKiemdinhCollection FetchByID(object IdGoi) { DmucGoikhamKiemdinhCollection coll = new DmucGoikhamKiemdinhCollection().Where("id_goi", IdGoi).Load(); return coll; }