public override int GetHashCode() { int hash = 1; if (DrinkId != 0) { hash ^= DrinkId.GetHashCode(); } if (drink_ != null) { hash ^= Drink.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (DrinkId != 0) { hash ^= DrinkId.GetHashCode(); } if (UserId.Length != 0) { hash ^= UserId.GetHashCode(); } return(hash); }