public void ModificarGymkana(WhateverGenNHibernate.EN.Whatever.GymkanaEN gym)
        {
            /*PROTECTED REGION ID(WhateverGenNHibernate.CP.Whatever_Gymkana_modificarGymkana) ENABLED START*/

            IGymkanaCAD gymkanaCAD = null;
            GymkanaCEN  gymkanaCEN = null;



            try
            {
                SessionInitializeTransaction();
                gymkanaCAD = new GymkanaCAD(session);
                gymkanaCEN = new  GymkanaCEN(gymkanaCAD);



                gymkanaCAD.Modify(gym);


                SessionCommit();
            }
            catch (Exception ex)
            {
                SessionRollBack();
                throw ex;
            }
            finally
            {
                SessionClose();
            }


            /*PROTECTED REGION END*/
        }
Exemplo n.º 2
0
        public void ModificarGymkana(WhateverGenNHibernate.EN.Whatever.GymkanaEN gym, WhateverGenNHibernate.EN.Whatever.MapaEN mapa)
        {
            /*PROTECTED REGION ID(WhateverGenNHibernate.CEN.Whatever_Gymkana_modificarGymkana) ENABLED START*/

            GymkanaCAD gymk = new GymkanaCAD();
            MapaCAD    map  = new MapaCAD();

            gymk.Modify(gym);
            map.Modify(mapa);

            /*PROTECTED REGION END*/
        }