Posts tagged with Entity Framework


I was inserting large number of records into database by using Entity Framework with code looking something like this: void Save() { foreach(var module in _context.Modules) { // stuff foreach(var type in module.Types) { // Change…