public TPhieuNhapxuatthuocCollection FetchAll() { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection(); Query qry = new Query(TPhieuNhapxuatthuoc.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TPhieuNhapxuatthuocCollection FetchByQuery(Query qry) { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieuNhapxuatthuocCollection FetchAll() { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection(); Query qry = new Query(TPhieuNhapxuatthuoc.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TPhieuNhapxuatthuocCollection FetchByQuery(Query qry) { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TPhieuNhapxuatthuocCollection FetchByID(object IdPhieu) { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection().Where("id_phieu", IdPhieu).Load(); return coll; }
public TPhieuNhapxuatthuocCollection FetchByID(object IdPhieu) { TPhieuNhapxuatthuocCollection coll = new TPhieuNhapxuatthuocCollection().Where("id_phieu", IdPhieu).Load(); return(coll); }