I am working with an ADO.NET entity data model for this side project that I am working on. Normally, I would include the entire connection string (user and password) inside web.config, but this morning I felt excited, so I decided to exclude the password from the connection string. Unfortunately for me, I canβt understand how to transfer or set a password before I manipulate the database, and all the searches that I have done so far have not yielded any fruitful results. All I have at present is a few lines that add a new entry:
_entities.AddToUploadSet(uploadFile); _entities.SaveChanges();
I see that inside _entities.Connection there is a ConnectionString property, but I did not find anything useful as a password property.
Can anyone help me out? Thanks!
Edit
For explanation, this screenshot shows a step where I can choose whether to include the password in the web.config file or not:

So, as you can see, I need to install it in the application code, as the prompt suggests.
source share