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

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

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

            return(coll);
        }