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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprEgresoPorAbortoCollection FetchByID(object IdEgresoPorAborto)
        {
            AprEgresoPorAbortoCollection coll = new AprEgresoPorAbortoCollection().Where("idEgresoPorAborto", IdEgresoPorAborto).Load();

            return(coll);
        }