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

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

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

            return(coll);
        }