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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public MamTipoEstudioCollection FetchByID(object IdTipoEstudio)
        {
            MamTipoEstudioCollection coll = new MamTipoEstudioCollection().Where("idTipoEstudio", IdTipoEstudio).Load();

            return(coll);
        }