mtanneryd / ef-bulk-operations

Bulk operations for Entity Framework 6
Apache License 2.0
80 stars 30 forks source link

Bulk Delete Documentation #19

Open icnocop opened 5 years ago

icnocop commented 5 years ago

Hi.

Thank you for Tanneryd.BulkOperations.EF6.

I'd like to request the ability to bulk delete records from the database.

Is this documented?

Thank you!

icnocop commented 5 years ago

For example,

  1. Delete all People where Id is in a given list.
  2. Delete all People where Id isn't in a given list.

Thank you.

mtanneryd commented 5 years ago

Hi and thanks for your feedback!

There actually already is an undocumented method "BulkDeleteNotExisting". I'll update the documentation and try to get a BulkDeleteExisting method in the upcoming 1.2.7 release currently in rc2.

/Måns

Måns Tånneryd Tånneryd IT AB Barrskogsvägen 19 186 53 Vallentuna +46-705140093 https://se.linkedin.com/in/manstanneryd

https://github.com/mtanneryd/ef6-bulk-operations https://github.com/mtanneryd/ef6-bulk-operations

Den tors 12 sep. 2019 kl 23:54 skrev Rami notifications@github.com:

For example,

  1. Delete all People where Id is in a given list.
  2. Delete all People where Id isn't in a given list.

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mtanneryd/ef6-bulk-operations/issues/19?email_source=notifications&email_token=AA2BSRPMRLQKLJK4PJKABNTQJK3CDA5CNFSM4IWJQY32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6TMBCY#issuecomment-531021963, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2BSRLFH2TMOS2OFWRP2OLQJK3CDANCNFSM4IWJQY3Q .