title: Entity Framework 6- User inputs database credentials
body: <p>Currently I have a C# console application which connects to a SQL Database using Entity Framework 6. I have the database credentials(Username, Password, DBName etc.) in the app.config file as a connection string. I understand that this is a security vulnerability, so I'd like to be able to take the Database Credentials as a user input. I'd then like to connect to the Database using what the user has inputted. Is there a way to pass parameters into app.config? If not, what is the best way to accomplish this goal? Thanks!</p>