Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            CurrencyCodeEntry dbCurrency = obj as CurrencyCodeEntry;

            if (dbCurrency == null)
            {
                return(false);
            }

            return(string.Equals(Value, dbCurrency.Value));
        }
Exemplo n.º 2
0
 protected bool Equals(CurrencyCodeEntry other)
 {
     return(string.Equals(Value, other.Value));
 }