Entity Framework executesqlcommand in same transaction as savechanges -


the problem have need update 15000 rows deleting them , reinsert them. has happen in single transaction. when remove rows row row slow. inserting goes fine.

is there possibility execute executesqlcommand statement in same transaction savechanges of context insert statements?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -