I see, but unfortunately, I have already implemented other way to handle the limitation of ExecuteBatch.
Since I need an unique id on child table, I created this unique id on Android side and sent it to server, so that, no need again to retrieved these ids from server.
This can achieve with a change in program flow and add a column in child table on server. These are the steps
- add LineNo column on Child Table in server
- For every records on Android side, generate unique LineNo
- run ExecuteQuery to get Id for Primary key in master from server
- This LineNo + Primary key of master, became a unique id in child table
- run ExecuteBatch to insert master and child table
Thank anyway for your help.