Entity Framework Plus A FREE & Open Source library to enhance EF6 and EF Core
// DELETE all users which are inactive for 2 years ctx.Users.Where(x => x.LastLoginDate < DateTime.Now.AddYears(-2)) .Delete(); // UPDATE all users which are inactive for 2 years ctx.Users.Where(x => x.LastLoginDate < DateTime.Now.AddYears(-2)) .Update(x => new User() { IsSoftDeleted = 1 });
Community Features
Those features are free (even for commercial use) and will always be:
- Batch Delete
- Batch Update
- Batch Insert
- Audit
- LINQ Dynamic
- Query Cache
- Query Deferred
- Query Filter
- Query Future
- Query Hint
- Query Include Filter
- Query Include Optimized
- Delete By Key
- Delete Range ByKey
- Sync Properties from Database Values
- ToSelfHierarchyList
- GetTagWithValues
- GetTagWithCallSiteValues
- WhereContains
- WhereNotContains
- ExecuteDeleteBatch
- ExecuteUpdate (SetProperties)
Enterprise Features
Those features are paid and a part of the EF Extensions library:
We need your help to support EF Plus!
EF Plus is FREE and always will be.
However, last year alone, we spent over 3000 hours maintaining our free projects! We need resources to keep developing our open-source projects.
We highly appreciate any contribution!
> 3,000+ Requests answered per year
> $100,000 USD investment per year
> 500 Commits per year
> 100 Releases per year
