public void CrearReto(WhateverGenNHibernate.EN.Whatever.RetoEN reto) { /*PROTECTED REGION ID(WhateverGenNHibernate.CEN.Whatever_Reto_crearReto) ENABLED START*/ _IRetoCAD.New_(reto); /*PROTECTED REGION END*/ }
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*/ }
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); } }
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); }