Custom Entity History Didn't Work for Multiple Databases #7157
We are using multiple databases for the our project. Now we have created a custom implementation for IEntityHistoryStore and used it to replace the default implementation. Also, we have uncommented lines to write change logs for the entities and added the entity type for Entity History selectors. The problem is that Entity History works for entities stored in the one database and doesn't work for entities stored in another databases. Do you have any suggestions for that?
The version of Asp.net Zero is v6.6.0 and we are using EntityFramework Core.
Hi, was the second db context inherit from
if not, you will have to override the
SaveChangesmethod and call