I\'m working on a Razor pages web app which works directly with a db context...yes this is not ideal but is what I\'m stuck with for the time being.
In the data model