Hi,
I am using LLBLGenPro 2.5 runtime Version and Adapter model.
My scenario is user will upload a Excel file that contains list of values for related tables in a single row..
Say for example i am having follwoing tables
Person,PersonLocation,PersonSpecialty,PersonDepartment
Relationship is:
A person(Person) can work in more than one location(PersonLocation)
PersonSpecialty can have one or more personlocation id's.
Basically i am getting all the rows from the excel file in a custom collection. I need to use SaveEntityCollection method of adapter while inserting the record against the db.
Suppose in the above case if i am going to insert some new data into person table, whether i can able to get the id(primary key here) of newly inserted row so that i can use the same for inserting new data into the personlocation table.
Please guide me by providing some samples or leads.
Help is very much appreciated.
Regards
Prabhu