コード例 #1
0
 public TPhieuCapphatNoitruCollection FetchAll()
 {
     TPhieuCapphatNoitruCollection coll = new TPhieuCapphatNoitruCollection();
     Query qry = new Query(TPhieuCapphatNoitru.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
 public TPhieuCapphatNoitruCollection FetchByQuery(Query qry)
 {
     TPhieuCapphatNoitruCollection coll = new TPhieuCapphatNoitruCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #3
0
 public TPhieuCapphatNoitruCollection FetchByID(object IdCapphat)
 {
     TPhieuCapphatNoitruCollection coll = new TPhieuCapphatNoitruCollection().Where("id_capphat", IdCapphat).Load();
     return coll;
 }