All Questions
Tagged with bulk-delete c#
4 questions
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 ...
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/...
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(() => ...
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
...