Beispiel #1
0
        public PnAreaCollection FetchByQuery(Query qry)
        {
            PnAreaCollection coll = new PnAreaCollection();

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

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

            return(coll);
        }