---
title: entity
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsmanagedobject/entity-swift.property
---

# entity

The entity description of the managed object.

## Declaration

```swift
var entity: NSEntityDescription { get }
```

## Discussion

Discussion If the receiver is a fault, accessing this property does not cause it to fire.

## See Also

### Getting a Managed Object’s Identity

- [objectID](coredata/nsmanagedobject/objectid.md)
- [entity()](coredata/nsmanagedobject/entity().md)
