public DmLoaiDichVuCollection FetchAll() { DmLoaiDichVuCollection coll = new DmLoaiDichVuCollection(); Query qry = new Query(DmLoaiDichVu.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmLoaiDichVuCollection FetchByQuery(Query qry) { DmLoaiDichVuCollection coll = new DmLoaiDichVuCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DmLoaiDichVuCollection FetchByID(object IdNhomDichVu) { DmLoaiDichVuCollection coll = new DmLoaiDichVuCollection().Where("Id_Nhom_DichVu", IdNhomDichVu).Load(); return coll; }