I have a table with an [AutoIncrement]
field which I’d like to capture the value for every time a new record is added and log it in an audit table.
I had considered using OrmLiteConfig.InsertFilter
to write records to audit table. However, the filter appears to fire before the record is inserted and so the value of the [AutoIncrement]
field has not yet been set.
Therefore: Is it possible to use a filter to capture an auto-incrementing value?