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

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

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

            return(coll);
        }