Browse Source

Update POST.md

pull/14853/head
Enis Necipoglu 4 years ago
parent
commit
2db6d55162
  1. 8
      docs/en/Community-Articles/2022-11-28-ef-bulk-operations/POST.md

8
docs/en/Community-Articles/2022-11-28-ef-bulk-operations/POST.md

@ -43,14 +43,6 @@ public class BookEntityFrameworkCoreRepository : EfCoreRepository<BookStoreDbCon
await dbSet.Where(x => x.PublishedOn.Year <= 2000)
.ExecuteDeleteAsync();
}
public async Task ImportAsync(List<Book> books)
{
var dbSet = await GetDbSetAsync();
// No need for an action for bulk inserting.
await base.InsertManyAsync(books);
}
}
```

Loading…
Cancel
Save