是否有其他人在Shawn Wildermuth的Pluralsight课程“使用ASP.NET Core RC1,MVC 6,EF7 & AngularJS构建Web应用程序”中进行第二次迁移?Pluralsight课程中的EF7迁移
具体来说,命令
dnx ef migrations add IdentityEntities
导致此异常:
GenericArguments[0], 'TheWorld.Models.IWorldRepository', on 'Microsoft.Data.Entity.Infrastructure.IDbContextFactory`1[TContext]' violates the constraint of type 'TContext'.
第一迁移和数据库的建立似乎去罚款,所以我不知道是什么导致了这一点。