---
title: "entityDescription(with:)"
framework: coredata
role: symbol
role_heading: Type Method
path: "coredata/nspersistenthistorychange/entitydescription(with:)"
---

# entityDescription(with:)

Requests an entity description for the managed object type affected by the change using the provided context.

## Declaration

```swift
class func entityDescription(with context: NSManagedObjectContext) -> NSEntityDescription?
```

## Parameters

- `context`: The managed object context for this request.

## Return Value

Return Value The entity description (NSEntityDescription) of the persistent history transaction entity.

## See Also

### Inspecting Change Metadata

- [fetchRequest](coredata/nspersistenthistorychange/fetchrequest.md)
- [entityDescription](coredata/nspersistenthistorychange/entitydescription.md)
