EF Core is it possible to disable update history in temporal tables, only deleted

217 views Asked by At

Is it possible to keep only the records of deleted records?

I added the temporal tables feature with EF Core and I would like to keep only the deleted records in the temporary table, which by default is storing what has been changed and what has been deleted is possible

modelBuilder.Entity<UserModel>().ToTable("Users", x =>
{
    x.IsTemporal();
});

I expected to save only records of deleted records

0

There are 0 answers