是否有人在这里有经验IBM.EntityFrameworkCore包? 我在VS2017中创建一个.NET 2.0标准库项目,添加提到的包,并试图使其按照工作这个和这个从IBM网站上的教程,没有运气。 我得到的项目编制,但在运行时我得到一个System.TypeLoadException
以下消息:
Method 'ApplyServices' in type 'IBM.EntityFrameworkCore.Infrastructure.Internal.Db2OptionsExtension' from assembly 'IBM.EntityFrameworkCore, Version=1.1.1.101, Culture=neutral, PublicKeyToken=7c307b91aa13d208' does not have an implementation.
任何帮助将不胜感激!
谢谢!
更新:异常当我尝试使用情境发生。 这意味着成功创建了上下文之后 ,但在此之前 DbContext.OnConfiguring
调用发生。