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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public MamTipoCirugiumCollection FetchByID(object IdTipoCirugia)
        {
            MamTipoCirugiumCollection coll = new MamTipoCirugiumCollection().Where("idTipoCirugia", IdTipoCirugia).Load();

            return(coll);
        }