须要是core(with full .net framework)的项目,由于core自己不支持ef 6 注意新建的项目是.net framework+.net core的 有空来填坑,参考资料写的很完善,好好学习英文 = =html
Getting Started with ASP.NET Core and Entity Framework 6学习