Пример #1
0
        public PnBeneficiarioCollection FetchByQuery(Query qry)
        {
            PnBeneficiarioCollection coll = new PnBeneficiarioCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnBeneficiarioCollection FetchAll()
        {
            PnBeneficiarioCollection coll = new PnBeneficiarioCollection();
            Query qry = new Query(PnBeneficiario.Schema);

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