Пример #1
0
        public PnProvinciaCollection FetchByQuery(Query qry)
        {
            PnProvinciaCollection coll = new PnProvinciaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnProvinciaCollection FetchAll()
        {
            PnProvinciaCollection coll = new PnProvinciaCollection();
            Query qry = new Query(PnProvincia.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnProvinciaCollection FetchByID(object IdProvincia)
        {
            PnProvinciaCollection coll = new PnProvinciaCollection().Where("id_provincia", IdProvincia).Load();

            return(coll);
        }