Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Oqtane Module Development - Entity Framework

$
0
0

I'm writing an Oqtane module and I'm working off of the standard source code template thats generated from the platform. I can't get any traditional entity framework commands for things like migrations to work. Has anyone had this issue? It creates a standard initial migration but you can't run it - I get the error

Unable to create a 'DbContext' of type 'Baydn.Module.Contact.Repository.QuickLinksContext'. The exception 'Unable to resolve service for type 'Oqtane.Repository.IDBContextDependencies' while attempting to activate 'Baydn.Module.Contact.Repository.QuickLinksContext'.' was thrown while attempting to create an instance.

What gives, anyone have any advice or a step by step tuturial to get commands like update and migration(s) to work? Thanks!


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>