I’m working on an application where so far we have been managing the database and domain via Entity Framework 4.3 code first with migrations…
As seen here…
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based-migrations-walkthrough.aspx
We have come to the point of needing to implement membership and are wanting to use .NET Membership provider. In the past I have just used aspnet_regsql.exe to generate all the membership tables in the database. Is there a way to make it so these membership tables get generated in the database as part of one of the migrations?
Maybe you can use the class SqlServices to install the services:
http://msdn.microsoft.com/en-us/library/system.web.management.sqlservices.install.aspx
Example:
I hope I was helpful.