Esempio n. 1
0
        public PnPaiCollection FetchByQuery(Query qry)
        {
            PnPaiCollection coll = new PnPaiCollection();

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public PnPaiCollection FetchByID(object IdPais)
        {
            PnPaiCollection coll = new PnPaiCollection().Where("id_pais", IdPais).Load();

            return(coll);
        }