コード例 #1
0
        public TPhieutrathuocKholeVekhochanCollection FetchByQuery(Query qry)
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public TPhieutrathuocKholeVekhochanCollection FetchAll()
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection();
            Query qry = new Query(TPhieutrathuocKholeVekhochan.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public TPhieutrathuocKholeVekhochanCollection FetchByID(object IdPhieu)
        {
            TPhieutrathuocKholeVekhochanCollection coll = new TPhieutrathuocKholeVekhochanCollection().Where("id_phieu", IdPhieu).Load();

            return(coll);
        }