myesn

myEsn2E9

hi
github

EFCore: migration not removing 'IsRequired' from column

某个属性原来是是 "必填",后来调整为 "可为空",但是 EF Core 生成的迁移文件中没有移除那一列的 “必填配置”。

参考:https://stackoverflow.com/a/64790038/7712266

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.