User-173651909 posted
I've created an MVC 5 EF6 web app connecting to an SQL database which performs crud operations. I need to implement the ability to clone a record. I've got a table containing the master records which link to other tables. So I need to clone a record and
it's data in one table, then also clone all records in another table which link back to it using the ID.
So create a duplicate of record ID 26 in table 1 for example, then also duplicate everything in table 2 with computerid == 26 but but the change the value of 26 to reference the new record.
Searching for this in google tends to return EF6 issues for returning duplicate records. I'd appreciate any help.
Thanks in advance
Adam