Ejemplo n.º 1
0
 public RisPhieuCdinhCollection FetchAll()
 {
     RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection();
     Query qry = new Query(RisPhieuCdinh.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Ejemplo n.º 2
0
 public RisPhieuCdinhCollection FetchByQuery(Query qry)
 {
     RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
Ejemplo n.º 3
0
 public RisPhieuCdinhCollection FetchByID(object IdPhieu)
 {
     RisPhieuCdinhCollection coll = new RisPhieuCdinhCollection().Where("ID_PHIEU", IdPhieu).Load();
     return coll;
 }