arch / AutoHistory

A plugin for Microsoft.EntityFrameworkCore to support automatically recording data changes history.
MIT License
783 stars 109 forks source link

How to enable only some entities for auto history? I do not need auto history for all tables. #82

Open ayc16 opened 1 year ago

ayc16 commented 1 year ago

In Unit Of Work Pattern (with repository pattern) , I am using dbContext.SaveChangesAsync() in repository wrapper (for all DB changes to be called at one place only). How can I configure auto history only for few entities, not all. I do not need history of all entities(tables).