コード例 #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);
        }
コード例 #3
0
        public PnPaiCollection FetchByID(object IdPais)
        {
            PnPaiCollection coll = new PnPaiCollection().Where("id_pais", IdPais).Load();

            return(coll);
        }