ITPub博客

首页 > 应用开发 > > .NET Core 的 OnModelCreating() 方法中,调试时遇到错

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

作者:markriver 时间:2019-08-09 13:55:42 0 删除 编辑
"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."

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/818/viewspace-3142908/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2020-07-03

  • 博文量
    502
  • 访问量
    18492