---
title: destinationEntityVersionHash
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsentitymapping/destinationentityversionhash
---

# destinationEntityVersionHash

The version hash for the destination entity for the entity mapping.

## Declaration

```swift
var destinationEntityVersionHash: Data? { get set }
```

## Discussion

Discussion The version hash is calculated by Core Data based on the property values of the entity (see NSEntityDescription’s versionHash method). The destinationEntityVersionHash must equal the version hash of the destination entity represented by the mapping.

## See Also

### Related Documentation

- [sourceEntityVersionHash](coredata/nsentitymapping/sourceentityversionhash.md)

### Managing Destination Information

- [destinationEntityName](coredata/nsentitymapping/destinationentityname.md)
