public AprHistoriaClinicaPerinatalDetalleCollection FetchByQuery(Query qry)
        {
            AprHistoriaClinicaPerinatalDetalleCollection coll = new AprHistoriaClinicaPerinatalDetalleCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprHistoriaClinicaPerinatalDetalleCollection FetchAll()
        {
            AprHistoriaClinicaPerinatalDetalleCollection coll = new AprHistoriaClinicaPerinatalDetalleCollection();
            Query qry = new Query(AprHistoriaClinicaPerinatalDetalle.Schema);

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