Try window.location.reload(true)
.
https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Core#migrator-console-application
https://docs.microsoft.com/en-us/ef/core/modeling/relational/sequences
You can configure it in module's PostInitialize
.
You're welcome. Appreciate the update.
So it does a read, right?
Are you modifying and reading in the same unit of work?
Can you create a repro project?
You said that code did not do a read. An SQL profiler shows if it does, as well as what query was executed.
Or can you describe how to reproduce that with a fresh project?
Did you Remove all migration classes under .EntityFrameworkCore/Migrations folder?