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