SimpleMembershipInitializer won't initialize

后端 未结 2 1925
滥情空心
滥情空心 2021-01-18 01:45

I am struggling with getting a simplemembership scenario working in my EntityFramework / MVC4 / DatabaseFirst project. I\'ve found plenty of examples for working with code

2条回答
  •  离开以前
    2021-01-18 02:00

    For simplicity and clarity keep two connection strings pointing to the same database. One for EF (doesn't matter if code first or data first) and one for your WebSecurity stuff. (As Chad and Erik said)

    
    
    

    Note that the providers are different: EF uses System.data.EntityClient and non-EF one uses System.Data.SqlClient.

提交回复
热议问题