There's a library named EntityFramework.Extended that is used to create batches in the older versions of EF. We can also use it in ASP.NET Core with Framework .NET 4.6.
The syntax would be the following:
//update all book with id of 1 to id of 2context.Books.Where(b => b.Id == 1) .Update(t => new Book { Id = 2 });//delete all books where Name matchescontext.Books.Where(u => u.Name == "SQL").Delete();