Bulk Delete and Bulk Update - Delete Thousands of Records in Seconds - Entity Framework Core 7

preview_player
Показать описание


In this video we'll see how to update and delete several records in a bulk operation. This is the new efficient way of EF Core for handling bulk operations.
Рекомендации по теме
Комментарии
Автор

Great feature EF Core team!! I always used straight SQL to do updates and deletes as it's a waste to fetch the full entity(ies) from the database just to update one column or to delete something. Thanks for the vid gav!!

mtranchi
Автор

Great video thanks for the examples. Is there an bulk upsert like insert if not exists and update the record if it exists ?

coding-gemini
Автор

Great, how can we update only selected fields for selected records? E.g. if we are synchronizing two different tables based on one of the table such that any deleted records in table 1 should be deleted in table two and same for updated records (not entire row).

rupenanjaria