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

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

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