and I created it using the "Individual User Accounts Authentication" instead of "No Authentication".
I now have two databases, one in my LocalDB server for my project application data and another "DefaultConnection", in the App_Data folder of my project for user security/register/login, etc.
How do I combine these two databases to have one database holding both application data and user login data?
Any help would be gratefully appreciated.
I accomplished this by using the Publish Web wizard in Visual Studio 2013 Pro.
On the Settings screen, I put in a Data Source = string for the DefaultConnection that is the same as the SchoolContext Data Source = string.
According to your description, I think these databases are independent.
To combine these databases, you could have multiple DbContext class (inherence) and enable emigration for each context, after that you could generate the database by using Update-Database command.
If you are want to use the exist databases, you could combine your database to the Identity database and you just need to have a connectionstring.
# Code First Migrations