I am trying to configure Audit.net and define my custom logic for saving logs. Is there a way to configure included entities within context? I tried this `
public ResidentMasterContext(DbContextOptions options) : base(options)
{
AuditDataProvider = new DynamicDataProvider();
Mode = AuditOptionMode.OptIn;
IncludeEntityObjects = true;
EntitySettings = new Dictionary<Type, EfEntitySettings>
{
{typeof(Apartment), new EfEntitySettings()}
};
}
` but OnScopeSaving is not firing. And when I change mode to OptOut it takes all entities