Delegates as callback functions in csharp

added by DotNetKicks
6/20/2019 1:39:49 PM

2 Kicks, 308 Views

To update many records in entity framework, it is good to use the .Attach method of the db context instead of looping through every record and fetching the data through EF and updating it. So, I sat down and wrote the attaching part of the code to update the records.