Ok, need some ideas, hopefully from individuals who had to deal with same scenario.
I have core entities with relationships. Utilizing sqlite, after running the app in simulator you will find entities populated, and the "relations" being created in sqlite tables that "essentially link" the tables together via integers. Naturally the
Z_PK, Z_OPT, and Z_ENT integers create the links. The Z_PK appears to be created automatically. After data is input, the core data is synced to cloud server with mssql database. When user lites up app again the data syncs down from the cloud. Now the problem is with populating the "relationship tables" in core data. I have created code to sync up and down using WEB service, MVC 5 etc., but now have run into the snafu of populating the "relationship tables"........
The problem in essence is populating the relationship tables with data that links both tables using the Z_PK, Z_OPT, and Z_ENT fields. IE, could I use the primary key fields from mssql tables to populate the Z_PK field for example?
Per chance does anyone have any direction to point me it--