Blazor - how to instantiate a dbContext in code

前端 未结 0 1028
有刺的猬
有刺的猬 2021-01-27 05:50

Does anyone know how to instantiate a DbContext in code in a Blazor app. When I try and instantiate my context directly it requires a DBContextOptions which I don\'t seem to be

相关标签:
回答
  • 消灭零回复
提交回复
热议问题