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

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

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

            return(coll);
        }