---
title: transaction
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistenthistorychange/transaction
---

# transaction

The persistent history transaction containing this change.

## Declaration

```swift
var transaction: NSPersistentHistoryTransaction? { get }
```

## See Also

### Inspecting Change Details

- [changeID](coredata/nspersistenthistorychange/changeid.md)
- [changeType](coredata/nspersistenthistorychange/changetype.md)
- [NSPersistentHistoryChangeType](coredata/nspersistenthistorychangetype.md)
- [changedObjectID](coredata/nspersistenthistorychange/changedobjectid.md)
- [tombstone](coredata/nspersistenthistorychange/tombstone.md)
- [updatedProperties](coredata/nspersistenthistorychange/updatedproperties.md)
