https://stackoverflow.com/a/74207956
dbContext.Users .Where(u => u.Id == someId) .ExecuteUpdate(b => b.SetProperty(u => u.Password, "NewPassword") ); // Delete users that haven't been active in 2022: dbContext.Users .Where(u => u.LastActiveAt.Year < 2022) .ExecuteDelete();
783300cookie-checkEntityFramework Core 7 multi update/delete