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

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

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

            return(coll);
        }