Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            TipoCocinaEN t = obj as TipoCocinaEN;

            if (t == null)
            {
                return(false);
            }
            if (Tipo.Equals(t.Tipo))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public TipoCocinaEN(TipoCocinaEN tipoCocina)
 {
     this.init(Tipo, tipoCocina.Restaurante);
 }