public bool Equals(IEntityRecord other) { if (other == null) { return(false); } /// Which is used to determine equality between entities. return(GetHashCode() == other.GetHashCode()); }