MikaelEliasson / EntityFramework.Utilities

Provides extensions for EntityFramework that doesn't exist out of the box like delete and update by query and bulk inserts
443 stars 176 forks source link

BalkDelete with generic list #119

Open aliebrahimi2015 opened 6 years ago

aliebrahimi2015 commented 6 years ago

how to implement this?

var list=GetList(); EFBatchOperation.For(dbContext, dbset).DeleteAll(list);