EDMX model is out of sync with my database model

后端 未结 1 1865
余生分开走
余生分开走 2021-01-26 09:37

I am using code first approach, but I am not sure why I am having this issue. Here\'s a part of my AccountViewModel:

public class LoginViewModel
{
    [Required]         


        
相关标签:
1条回答
  • 2021-01-26 10:18

    I think i found the answer for my problem. It's the updated package: Microsoft.AspNet.Identity.EntityFramework from version 1 to version 2.

    apparently the new version has new database attributes that needs to be mapped. More on this issue: Link

    0 讨论(0)
提交回复
热议问题