示例#1
0
        public PnPaiCollection FetchByQuery(Query qry)
        {
            PnPaiCollection coll = new PnPaiCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public PnPaiCollection FetchAll()
        {
            PnPaiCollection coll = new PnPaiCollection();
            Query           qry  = new Query(PnPai.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }