Entity Framework – what are the different ways to configure database name?

Entity Framework allows you to create a model (either using code-first approach or modeling tools) which can target an existing database or create a new one. So what are the different ways you can use to configure which database to use? How to name it? Read my blog post on my programming interviews blog to learn more (https://www.programminginterviews.info/2013/03/Entity-Framework-Interview-Question-what-are-the-different-ways-to-configure-database-name.html ).