Changing the Database Name7:50 with James Churchill
Let's look at the options for changing the name of the generated database.
To follow along commiting your changes to this course, you'll need to fork the dotnet-comic-book-gallery-model repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-comic-book-gallery-model git checkout tags/v2.3 -b changing-the-database-name
Here's the database connection string to connect to the default SQL Server LocalDB instance and set the generated database name to "ComicBookGallery".
Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=ComicBookGallery;Integrated Security=True;MultipleActiveResultSets=True
You need to sign up for Treehouse in order to download course files.Sign up