Updated to MS Identity Core 2.0 and EF6.1 and login fails: invalid email column name 'Email'

I went to the Manage NuGet Package and updated all the packages. I do not use much: Linq-to-EF6.1 and the packages necessary for work MS Identity. However, something has broken, because now when I go to login, I get an error

Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'Email'.
Invalid column name 'EmailConfirmed'.
Invalid column name 'PhoneNumber'.
Invalid column name 'PhoneNumberConfirmed'. //and so on

The exception is as follows: enter image description here

What could be the reason for this, and how can I fix and prevent it again when all I did was just update the NuGet packages?

Thank.

. , ; . , dev, . , , , , .

+4
2

, DefaultConnection. DefaultConnection MySpecialConnection , , , ASP.net DefaultConnection.

0

, , , . .

, usermanager.

var mgr = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>());

  public class ApplicationUser : IdentityUser
    {
         //my custom fields
        public string Email { get; set; }

}

,

-1

Source: https://habr.com/ru/post/1538308/


All Articles