I get an exception when I try to reverse engineer a database in EF5 code first

后端 未结 1 1920
春和景丽
春和景丽 2021-02-02 12:29

This video shows me how to use Code First from an existing database. http://msdn.microsoft.com/en-us/data/jj572367

So I use nuget to install EF Power Tools and I select

1条回答
  •  梦如初夏
    2021-02-02 13:14

    I found the solution on the comments of the webpage of the EF Power Tools product; http://visualstudiogallery.msdn.microsoft.com/72a60b14-1581-4b9b-89f2-846072eff19d

    In connection wizard, Advanced should be clicked and the value of Persist Security Info should be True.

    If anyone can answer the original question and explain what is going on when you do this, I might tick them the answer!

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