public QheNhomnhanvienQuyensudungCollection FetchAll() { QheNhomnhanvienQuyensudungCollection coll = new QheNhomnhanvienQuyensudungCollection(); Query qry = new Query(QheNhomnhanvienQuyensudung.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public QheNhomnhanvienQuyensudungCollection FetchByID(object MaNhom) { QheNhomnhanvienQuyensudungCollection coll = new QheNhomnhanvienQuyensudungCollection().Where("ma_nhom", MaNhom).Load(); return coll; }