Entity Framework Core(7) bulk update

As the accepted answer pointed, Entity Framework Core doesn't support to updates directly in the database yet.

Disclaimer: I'm the owner of the project Entity Framework Plus

However, EF+ already supports Query Batch Update without loading entities in the context (Support: EF Core, EF6, EF5)

// using Z.EntityFramework.Plus; // Don't forget to include this.

// UPDATE all users inactive for 2 years
ctx.Users.Where(x => x.LastLoginDate < DateTime.Now.AddYears(-2))
         .Update(x => new User() { IsSoftDeleted = 1 });

Wiki: Entity Framework Batch Update