public override bool Equals(object obj) { if (obj == null) { return(false); } EventoGratisEN t = obj as EventoGratisEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public EventoGratisEN(EventoGratisEN eventoGratis) { this.init(Id, eventoGratis.Aforo, eventoGratis.Lugar, eventoGratis.Fecha, eventoGratis.Tipo, eventoGratis.Descripcion, eventoGratis.Nombre, eventoGratis.Genero, eventoGratis.Asistente, eventoGratis.Grupo, eventoGratis.Comentario, eventoGratis.Premio); }