Exemple #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            TemaEN t = obj as TemaEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #2
0
 public TemaEN(TemaEN tema)
 {
     this.init(Id, tema.Descripcion, tema.Respuestas, tema.Estado, tema.Usuario, tema.Titulo, tema.Etiquetas, tema.Fecha);
 }