Exemple #1
0
        public void RemoveRange(Expression <Func <TEntity, bool> > filter = null)
        {
            IQueryable <TEntity> query = DbSet;
            var listDelete             = query.Where(filter).ToList();

            DbSet.RemoveRange(listDelete);
        }