I would like to know if anyone knows of a way to inject a custom fn that gets invoked immediately after the OrmLite creates the relevant POCOs and sets all the fields from the sql query that is being invoked, yet before any caller receives the data from the db.
Similar to the Insert/Update filters that allow you to modify the POCO before insert, I would like to modify the POCO after select. A generic example similar to the Insert/Update IAudit-style filter would be to set a “read from db timestamp” (not that this example represents what I’m looking to do). Almost like the constructor but that gets called after all the fields are set from the SQL result.
This would probably get invoked via either a class attribute or as an interface.