I want to track _latestVersion from SchoolModel in the database. It should only be accessed from inside the object itself, but should persist.
I found https://romiller.com/2012/10/01/mapping-to-private-properties-with-code-first/ which shows how to achieve this in EF6, but is broken in EF Core.
Any suggestions on how to track a private property in EF Core?
I want to track _latestVersion from SchoolModel in the database. It should only be accessed from inside the object itself, but should persist. I found https://romiller.com/2012/10/01/mapping-to-private-properties-with-code-first/ which shows how to achieve this in EF6, but is broken in EF Core. Any suggestions on how to track a private property in EF Core?