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

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

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