Type Method

entity

Returns the entity description that is associated with this subclass.

Declaration

+ (NSEntityDescription *)entity;

Discussion

This method is only legal to call on subclasses of NSManagedObject that represent a single entity in the model.

See Also

Getting a Managed Object’s Identity

entity

The entity description of the managed object.

objectID

The object ID of the managed object.