public void CrearReto(WhateverGenNHibernate.EN.Whatever.RetoEN reto)
        {
            /*PROTECTED REGION ID(WhateverGenNHibernate.CEN.Whatever_Reto_crearReto) ENABLED START*/

            _IRetoCAD.New_(reto);

            /*PROTECTED REGION END*/
        }
示例#2
0
        public void ModificarReto(WhateverGenNHibernate.EN.Whatever.RetoEN reto)
        {
            /*PROTECTED REGION ID(WhateverGenNHibernate.CEN.Whatever_Reto_modificarReto) ENABLED START*/

            // Write here your custom code...

            _IRetoCAD.Modify(reto);

            /*PROTECTED REGION END*/
        }
示例#3
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            RetoEN t = obj as RetoEN;

            if (t == null)
            {
                return(false);
            }
            if (ID.Equals(t.ID))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#4
0
 public RetoEN(RetoEN reto)
 {
     this.init(ID, reto.Titulo, reto.Descripcion, reto.Tipo, reto.Precio, reto.Imagen, reto.Usuario, reto.Puntuacion, reto.Comentario, reto.Reporte);
 }