Skip to content
Tony Arnold edited this page May 2, 2014 · 2 revisions

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];