Skip to main content

All Questions

Tagged with
1 vote
1 answer
242 views

How to use BulkDelete with auto generated key as a primary key (using Entity Framework Plus library) in c#

I am working on a project where I have an excel sheet with some data. I am converting it into list and mapping it into another list which is derived from table in a database using entity framework ...
Sapri s's user avatar
  • 69
0 votes
1 answer
379 views

How to use CosmosDB.BulkExecutor.Graph.GraphBulkExecutor.BulkDeleteAsync?

I am trying to use BulkDelete function (for Cosmos DB graph database) that takes a string query and deletes all results, in my .NET C# application. Documentation: https://learn.microsoft.com/en-us/...
Apoorva Agrawal's user avatar
6 votes
3 answers
6k views

C# Efficiently delete 50000 records in batches using SQLBulkCopy or equivalent library

I'm using this library to perform bulk delete in batches like following: while (castedEndedItems.Any()) { var subList = castedEndedItems.Take(4000).ToList(); DBRetry.Do(() => ...
User987's user avatar
  • 3,825
0 votes
0 answers
252 views

Bulk delete with progress

I try to find some way to delete a lot of data from table using batch with progress of deleting. To delete I use the following code: select 'to set rowcount' WHILE @@ROWCOUNT <> 0 BEGIN ...
Serg046's user avatar
  • 1,203