Is there a way to create Core Data configuration programmatically

I have a MacOS ERP project, and I'm using Core Data to store my data.


I want to create multiple core data store & configuration for each store at runtime.


Is there any way achieve this?

Is there a way to create Core Data configuration programmatically
 
 
Q