Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 314 Bytes

Creating-Entities.md

File metadata and controls

13 lines (9 loc) · 314 Bytes

Creating Entities

To create and insert a new instance of an Entity in the default context, you can use:

Person *myPerson = [Person MR_createEntity];

To create and insert an entity into specific context:

Person *myPerson = [Person MR_createEntityInContext:otherContext];