Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 449 Bytes

Deleting-Entities.md

File metadata and controls

25 lines (17 loc) · 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];