【发布时间】:2018-07-21 07:21:59
【问题描述】:
我们有一个使用 psql 数据库的 .Net Core 2.0 API。 更新到 .Net Core 2.1 时,它停止构建并返回以下错误:
'IMutableEntityType' does not contain a definition for 'Scaffolding' and no extension method 'Scaffolding' accepting a first argument of type 'IMutableEntityType' could be found (are you missing a using directive or an assembly reference?)
此扩展方法不适合外部使用,但我们需要它在运行时更改实体架构。
【问题讨论】:
标签: entity-framework .net-core .net-core-2.1