// 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 });
Those features are free (even for commercial use) and will always be:
Those features are paid and a part of the EF Extensions library:
EF Plus is FREE for you and will always be!
However, maintaining and developing a free library for a company is very expensive.