public bool HasSamePersistenceVersion(IVersionedPersistentObject other)
 {
     return other == null
                ? false
                : !other.PersistenceVersion.HasValue || !PersistenceVersion.HasValue
                      ? false
                      : PersistenceVersion.Value == other.PersistenceVersion.Value;
 }
        public bool HasSamePersistenceVersion(IVersionedPersistentObject other)
        {
            Contract.Ensures(Contract.Result<bool>() ==
                             (other == null
                                  ? false
                                  : !other.PersistenceVersion.HasValue || !PersistenceVersion.HasValue
                                        ? false
                                        : PersistenceVersion.Value == other.PersistenceVersion.Value));

            return default(bool);
        }