public virtual bool UpdateHashCode(DataCollection collection)
 {
     var hashCode = collection.GetDataCollectionHash();
     if (this.HashCode != hashCode)
     {
         this.HashCode = hashCode;
         return true;
     }
     return false;
 }
        public virtual bool UpdateHashCode(DataCollection collection)
        {
            var hashCode = collection.GetDataCollectionHash();

            if (this.HashCode != hashCode)
            {
                this.HashCode = hashCode;
                return(true);
            }
            return(false);
        }
        public virtual bool IsDifferentHashCode(DataCollection collection)
        {
            var hashCode = collection.GetDataCollectionHash();

            return(hashCode == null || this.HashCode != hashCode);
        }
 public virtual bool IsDifferentHashCode(DataCollection collection)
 {
     var hashCode = collection.GetDataCollectionHash();
     return hashCode == null || this.HashCode != hashCode;
 }