Permalink
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 449 Bytes

Deleting Entities

To delete a single entity in the default context:

[myPerson MR_deleteEntity];

To delete the entity from a specific context:

[myPerson MR_deleteEntityInContext:otherContext];

To truncate all entities from the default context:

[Person MR_truncateAll];

To truncate all entities in a specific context:

[Person MR_truncateAllInContext:otherContext];