How can I attach membership database to my own dat

2019-02-28 20:04发布

问题:

Can anyone help me out to solve this issue please :

Well I'm recently building a CMS using ASP.NET MVC 4.5 ,with Entity Framework Code First , so my whole database get created on the fly , now the problem is that I need to use the built-in asp.net membership database without ending up with two databases one for the users and roles managements and one for the CMS management , so how can I solve this issue , any idea ?

回答1:

Follow the link below, let me know if you have any other questions.

Including Asp.net Simple Membership Tables as Part of Your Entity Framework Model