Contents

entity

The entity specified for the fetch request.

Declaration

var entity: NSEntityDescription? { get set }

Discussion

When an NSFetchRequest instance is created with init(), it is expected that the entity property will be set. If this property is not set, the fetch request fails upon execution.

See Also

Managing the Fetch Request’s Entity