Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 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];