'No database provider has been configured for this DbContext' on SignInManager.PasswordSignInAsync

后端 未结 4 866
孤城傲影
孤城傲影 2020-12-08 18:11

.Net Core 1.0.0 - SDK Preview 2 (x64)

.Net Core 1.0.0 - VS "15" Preview 2 (x64)

.Net Core 1.0.0 - Runtime (x64)

So,

4条回答
  •  孤城傲影
    2020-12-08 18:46

    Override constructor of DbContext Try this :-

    public DataContext(DbContextOptions option):base(option) {}
    

提交回复
热议问题