.net - Duplicate LINQ to SQL entity / record - with associated records? -


I am using linux from ANP.net (C #); And I'm trying to add a 'clone record' function - allows copying a record from a single table; How do I raise this to include the associated records in the tables connected through the foreign key?

In the end I went with the CopyDataMembers, suggested elsewhere on this site, and then each of the links Looped through each entry in the line and made them copy them individually. Not yet ideal, but it meets requirements and deadlines.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -