EF Core Fluent API, set IsRequired on all entities to generate a non-null db column

前端 未结 0 1601
一向
一向 2020-12-30 07:39

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

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