public override bool Equals(object obj) { CurrencyCodeEntry dbCurrency = obj as CurrencyCodeEntry; if (dbCurrency == null) { return(false); } return(string.Equals(Value, dbCurrency.Value)); }
protected bool Equals(CurrencyCodeEntry other) { return(string.Equals(Value, other.Value)); }