我在ASP.NET MVC上使用PluralSight视频教程。我不能让包控制台上迁移..ASP.NET Mvc项目EF代码首先启用迁移错误
,当我写使能的迁移,我收到此错误;
多于一个的上下文类型是在装配“eManager.Web”找到。 要为eManager.Web.Infrastructure.DepartmentDb启用迁移,请使用Enable-Migrations -ContextTypeName eManager.Web.Infrastructure.DepartmentDb。 要启用eManager.Web.Models.UsersContext的迁移,请使用Enable-Migrations -ContextTypeName eManager.Web.Models.UsersContext。 。
,当我写启用的迁移-ContextTypeName eManager.Web.Infrastructure.DepartmentDb,我收到此错误;
上下文类型 'eManager.Web.Infrastructure.DepartmentDb'。在程序集“eManager.Web”中找不到。
感谢您的帮助。