NSBatchInsertRequest and 2 tables with one-to-relationship

hi everybody,
I have a database in which there are 2 tables with a one-many relationship.

I need to use NSBatchInsertRequest because I have a large data’s to insert in db.

I know that NSBatchInsertRequest doesn’t manages relationships.
so how can I use NSBatchInsertRequest to insert data and insert the relationships?

thank you
NSBatchInsertRequest and 2 tables with one-to-relationship
 
 
Q