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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }