首页 新闻 会员 周边 捐助

.NET Core 的 OnModelCreating() 方法中,调试时遇到错误:

0
[已关闭问题] 关闭于 2017-01-11 12:00
"An attempt was made to use the model while it was being created. A DbContext instance cannot be used inside OnModelCreating in any way that makes use of the model that is being created."



问题补充:




BUTTERAPPLE的主页 BUTTERAPPLE | 老鸟四级 | 园豆:3190
提问于:2017-01-05 18:29
< >
分享
所有回答(1)
0

自己看问题 “A DbContext instance cannot be used inside OnModelCreating

wangjinming | 园豆:578 (小虾三级) | 2017-01-05 18:35
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册