Example #1
0
        public AprPartoProvisorioCollection FetchByQuery(Query qry)
        {
            AprPartoProvisorioCollection coll = new AprPartoProvisorioCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public AprPartoProvisorioCollection FetchAll()
        {
            AprPartoProvisorioCollection coll = new AprPartoProvisorioCollection();
            Query qry = new Query(AprPartoProvisorio.Schema);

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